08-16-2013, 04:16 PM
Why not use normal trigger Win+N, like this?
Macro Macro2123
Trigger Wn
In AHK you run a script containing triggers.
In QM you assign trigger in Properties dialog, and the script runs when you press eg Win+N.
Macro Macro2123
Trigger Wn

int w1=win(" - Notepad" "Notepad") ;;get window handle
if w1=0
,OnScreenDisplay "Launching Notepad" 1 0 0 0 0 0 2
,run "notepad.exe"
else
,OnScreenDisplay "Already Running Notepad" 1 0 0 0 0 0 2
,act w1In AHK you run a script containing triggers.
In QM you assign trigger in Properties dialog, and the script runs when you press eg Win+N.
