Autohotkey - #IfWinActivate block - send another key -
in foxit reader, i'd autohotkey respond numpad5 double-clicking, calling numpadadd. individually, both work normally. first won't call second. wrong? thanks!
settitlematchmode 2 ; allow partial titles #ifwinactive, foxit numpad5:: click 2 send {numpadadd} ; doesn't react return numpadadd:: send ^b ; create bookmark ... other stuff ...
how about...
settitlematchmode 2 ; allow partial titles #ifwinactive, foxit numpad5:: click 2 gosub, mynumadd return mynumadd: numpadadd:: send ^b ; create bookmark ... other stuff ... #ifwinactive
Comments
Post a Comment