10-15-2012, 01:59 PM
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
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