I'm trying to make a script for AutoHotKey to map the LWin + Shift + Left/Right key combination to Shift + Home/End.
I also want to make LWin + Left/Right do Home/End, but I got this working.
Here's what I am trying right now:
LWin & Right::
GetKeyState, state, Shift
if state = D
Send {Shift}{End}
Else Send {End}
Return
Sorry, just played around with the script for a bit and got it working:
LWin & Left::
GetKeyState, state, Shift
If state = D
Send +{Home}
Else Send {Home}
Return
LWin & Right::
GetKeyState, state, Shift
If state = D
Send +{End}
Else Send {End}
Return
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With