Remapping Ctrl-Alt-Arrow in Windows 10 using AutoHotkey

5

5

I am trying to remap Ctrl-Alt-Right and Ctrl-Alt-Left to imitate Ctrl-Win-Right and Ctrl-Win-Left, respectively. I followed the instructions given in this post, and succeeded in mapping Ctrl-Arrow to give the correct result, but when I change the script to

#NoTrayIcon
!^Right::^#Right
!^Left::^#Left

and run it, my desired functionality is not achieved. Why is this? How can I fix it?

John Niedfeldt

Posted 2015-11-23T17:15:31.253

Reputation: 53

Answers

8

Try

!^Right:: send {LWin down}{LCtrl down}{Right}{LWin up}{LCtrl up}

or

!^Right:: sendevent {LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Left up}

user3419297

Posted 2015-11-23T17:15:31.253

Reputation: 2 055

That worked! Thank you so much! Do you have any idea why the other way did not work? – John Niedfeldt – 2015-11-25T21:29:43.030

1"!^Right" isn't a key you can replace by another one. It's a combination of three keys. – user3419297 – 2015-11-26T20:28:09.497