Reputation: 560
So I've used AutoHotKey to disable the AppsKey (the button on the keyboard which brings up the right-click menu). But I thought I could put it to better to use, and am trying to get it so that while I'm holding down the AppsKey the computer thinks I'm holding down Shift & Control instead.
I've been reading through the Command List but can't see anything for AppsKey down & up. Would anyone be able to share anything to enable me to do this?
Thanks
Upvotes: 0
Views: 2445
Reputation: 4065
I don't understand what your problems are, but this little piece of code works for me:
AppsKey::Send, {SHIFT down}{CTRL down}
AppsKey up::Send, {CTRL up}{SHIFT up}
As you can see, there is an AppsKey up
. Down
on the other hand doesn't exist for hotkeys. In this example, the first hotkey triggers when AppsKey
is pressed (that is, it triggers as soon as you hit it). The second hotkey triggers when it is released.
Upvotes: 3