Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different title or class
#3
Hello,
Couldnt come earlier.

However I tried this macro, just to experiment -

Code:
Copy      Help
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 ?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)