What I would like to do is send a single CTRL+ALT+0 sequence to hotkeys and then have it listen to the next sequence but diverting that text input away from the current application.
Example, if I want to use ALT+F4 as a shortcut hotkeys would not pass that to windows and close the current app. This way I could have an unlimited set of shortcuts and not need to worry what effect they would have on the current running application.
sudo code to try explain further:
Code: Select all
^!00:
if ALT+F4 then
run myApp1
Return
elseIf ALT+F5 then
run myApp2
Return
else
do nothing and pass the sequence as intended
Return
Hope this is clear and welcome any pointers you may have.
thanks!