Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different title or class
#2
Why don't use several macros with different trigger?

If need single macro, will need to set trigger that matches multiple windows. For example use a regular expression.

Maybe don't need a filter function. Can use similar code (wintest) in macro.

In your examples, "Window1" etc are window names. If class of these windows is different, don't use class with wintest, or use multiple wintest, for each window. Example:

Macro Macro1861
Code:
Copy      Help
int hwnd=TriggerWindow
if wintest(hwnd "name1" "class1")
,out 1
else if wintest(hwnd "name2" "class2")
,out 2
;...


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)