0

Is there a way for AutoHotKey to re-map the functionality Shift+Ctrl+ or arrow (which highlights everything to the left/right) to Shift+Alt+ or ?

Coming from a Mac I'm so used to having the CMD button next to the space bar and I prefer it that way..

4
  • As a long-time Windows user, I would strongly recommend not doing this; there are many programs that use chorded metakeys (combinations of Ctrl, Alt, and Shift) for program commands, and remapping may well block access to those commands. It would be better to recognize that Windows is not the Mac, and learn to accommodate the differences, just as many Windows users do on the occasions that they have to use Macs or Linux. Dec 17 '18 at 14:47
  • Mhmm.. perhaps, that just sucks though. Long time mac user @ home and forced to use Windows for work
    – erikvm
    Dec 17 '18 at 14:51
  • No different than those of us who use Windows at home, and have to use Linux or Macs at work... Dec 17 '18 at 14:53
  • Irrelevant for this question though
    – erikvm
    Dec 17 '18 at 14:55
1
; "LShift + LAlt + Left" to "Shift + Ctrl  + Left"
<+<!Left:: Send {Ctrl Down}{Shift Down}{Left}{Shift Up}{Ctrl Up}

; "LShift + LAlt + Right" to "Shift + Ctrl  + Right"
<+<!Right:: Send {Ctrl Down}{Shift Down}{Right}{Shift Up}{Ctrl Up}
  • "<+" is the modifier symbol for the LShift and "<"!" for the LAlt key.
  • Modifier symbols are used only in key combinations for modifying other keys (in this case the keys left and right arrow).
  • All other LShift + LAlt + Key combinations in the system or programs (if any) remain intact.

https://autohotkey.com/docs/commands/Send.htm

2
  • <+<!+ didn't work for me, however explicitly setting LShift & LAlt & Left instead did.
    – HeyJude
    May 19 '20 at 19:05
  • @HeyJude, <+<!+ means "LShift + LAlt + plus(+)" The symbols <+ for LShift and <! for LAlt are only used in key combinations to modify other keys (the keys Left and Right in this answer. May 20 '20 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.