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

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -