<actwin> Activates specified window. If the window doesn't exist a macro can be started (to open desired application or notify user, for example).
Command Tree: | Window \ Activate | ||||||||||||||||
. | |||||||||||||||||
Syntax: | <actwin>("WinTitle",
Match, WindowState, "MacroRun")
|
||||||||||||||||
. | |||||||||||||||||
. | |||||||||||||||||
Example: | <#> This macro activates "Notepad" window if it is opened <#> <commands_only_on> <if_win>("Notepad","OPEN",0) <actwin>("Notepad",0,0,"no") <else> <msg>(100,100,"'Notepad' is not opened!","Message",1) <endif> |