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?

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}
2
  • That worked! Thank you so much! Do you have any idea why the other way did not work? – John Niedfeldt Nov 25 '15 at 21:29
  • 1
    "!^Right" isn't a key you can replace by another one. It's a combination of three keys. – user3419297 Nov 26 '15 at 20:28

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.