Remapping Ctrl-Alt-Arrow in Windows 10 using AutoHotkey

6,227

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}
Share:
6,227

Related videos on Youtube

John Niedfeldt
Author by

John Niedfeldt

Updated on September 18, 2022

Comments

  • John Niedfeldt
    John Niedfeldt almost 2 years

    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
    John Niedfeldt over 8 years
    That worked! Thank you so much! Do you have any idea why the other way did not work?
  • user3419297
    user3419297 over 8 years
    "!^Right" isn't a key you can replace by another one. It's a combination of three keys.