AHK (Binding keys)

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)

John Eztech

Posted 2015-10-21T15:46:33.643

Reputation: 57

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 – 2015-10-21T16:30:49.270

I want to map ShiftLeftArrow or ShiftLeft to Ctrl+Shift+Tab – John Eztech – 2015-10-21T18:04:36.627

Is the Cygwin tag really appropriate? – William – 2015-10-21T18:16:45.073

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 – 2015-10-21T18:26:02.273

Answers

1

This one should do:

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

SΛLVΘ

Posted 2015-10-21T15:46:33.643

Reputation: 1 157

At first I didn't notice only RCtrl was required to be bound – SΛLVΘ – 2015-10-21T19:48:27.530

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 – 2015-10-21T21:00:16.730

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Θ – 2015-10-21T21:50:25.700

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 – 2015-10-21T22:12:07.150