Suggestion is a easy an feature where you can set any key a modifier. And force it to trigger on KeyUp always.
I would prefer that when I do a script as below, that all Escape shortcuts keep working normally.
Currently everything related to Escape stops working.
eg.
Ctrl-Shift-Escape > Open Task manager (windows default)
Escape > Close find pop-up window in notepad
Code: Select all
ESC & g::
msgbox, test
Return
Code: Select all
CTRL & g::
msgbox, test
Return
> https://gist.github.com/solobat/f428bf4 ... 239829fc53
This does not work, because Escape is triggered on KeyDown, by default.
Code: Select all
~ESC & g::
msgbox, test
Return
Code: Select all
#MaxThreadsPerHotkey 2
$ESC::
KeyWait, ESC, U
Send, {Esc down}
Send, {Esc up}
Return
~ESC & g::
msgbox, test
Return
1. By default treat first key always a modifier, triggered only after KeyUp
2. Have a new command: ModifierAdd, Escape
Notes:
I have used https://github.com/randyrants/sharpkeys to swap Capslock for Escape permanently, and I use Escape as a modifier.