1

I'm trying to bind the following keys.

I want to be able to use Shift+LeftArrow to navigate between two windows. Since I mainly use these two windows in one monitor It would be great to move between them.

Currently you can do this by pressing Ctrl+Shift+Tab. However I want to use AHK to bind that feature to Shift + Left Arrow

I've tried the following, but keep in mind I'm not too good at this. ^Win+LeftArrow:: RCtrlShiftTab

All help is greatly appreciated.

Update: ^Left:: RCtrl^Tab (Error it says is it doesn't recognize RCtrl^Tab)

  • First, I think LeftArrow should just be Left. That being said, are you trying to map Ctrl,Win,Shift,Left to RCtrl,Shift,Tab? (+ maps to Shift) – cricket_007 Oct 21 '15 at 16:30
  • I want to map ShiftLeftArrow or ShiftLeft to Ctrl+Shift+Tab – John Eztech Oct 21 '15 at 18:04
  • Is the Cygwin tag really appropriate? – William Oct 21 '15 at 18:16
  • That's the program the key binding is for, thought maybe someone has made some to switch windows they can simply share and I can modify. – John Eztech Oct 21 '15 at 18:26
1

This one should do:

+Left::Send {RCtrl down}+{Tab}{RCtrl up}

|improve this answer|||||
  • At first I didn't notice only RCtrl was required to be bound – SΛLVΘ Oct 21 '15 at 19:48
  • I wish I could understand it the way you do but it works and that's all that matters. <3 highly appreciated. If you don't mind sharing an explanation of the lines I would also appreciate it. – John Eztech Oct 21 '15 at 21:00
  • Plus sign, as cricket_007 pointed out, is mapped to Shift. Send function sends keys. :-) RCtrl needs to be pressed down while you are ShiftTab-ing to switch windows, then released (up) – SΛLVΘ Oct 21 '15 at 21:50
  • Yep lol I re-read it over and over and found some articles. - Actually just did another one I wanted to use for Cygwin.. – John Eztech Oct 21 '15 at 22:12

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.