Windows 10 – Remapping Ctrl-Alt-Arrow Using AutoHotkey

autohotkeykeyboard shortcutswindows 10

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?

Best Answer

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}
Related Question