I'm trying to use AutoHotKey to emulate my KBC Poker keyboard on the notebook keyboard, I want use the RWin key as function key, so for example, RWin + a would be left, RWin + w would be up, etc. I have this script configured in AHK:
RWin & w::Send {Up}
RWin & a::Send {Left}
RWin & s::Send {Down}
RWin & d::Send {Right}
It works in the sense that I can use RWin + w/a/s/d to move the cursor around, however what does not work is to press Shift + RWin + d to select text.
Another example is the F4 key, my mapping:
RWin & 4::Send {F4}
So I would expect Alt + RWin + 4 to close the current window (Alt + F4 behavior), but it doesn't.
I want to somehow enable the modifier keys to work with my hot keys without specifying each and every possible combination. How can I do that?
*RWin & 4::
. The other requirement (with ALT + F4) is rather inconsistent. How do you expect a hotkey likeAlt + RWin + 4
to "ignore" theRWin + 4
, but let theAlt
trickle through? You can either have all hotkeys sent with~
or none. – MCL*RWin & d::Send {Right}
,Error: Invalid hotkey.
– Alexander Rechsteiner