10-18-2012, 08:01 PM
Hello,
Couldnt come earlier.
However I tried this macro, just to experiment -
And the trigger is Ctrl+Shift+k
I got the error -
Error in 15-02 TRY: empty block. Did you forget to tab-indent following lines?.
What can be the fault ?
Couldnt come earlier.
However I tried this macro, just to experiment -
int hwnd=TriggerWindow
if wintest(hwnd "new file - metapad" "metapad")
"THIS IS METAPAD"
else if wintest(hwnd "Untitled - Notepad2-mod" "Notepad2")
"HELLO NOTEPAD2"
;...And the trigger is Ctrl+Shift+k
I got the error -
Error in 15-02 TRY: empty block. Did you forget to tab-indent following lines?.
What can be the fault ?
