08-13-2019, 06:59 PM
Quote:The problem is that MacroB.exe at some point, irregularly, just stops working.MacroB probably should be a simple thread, not .exe process.
Macro MacroA
mac "sub.MacroB"
atend sub.EndMacroB
rep
,out "repeating"
,1
#sub MacroB
int w1=wait(0 WA win("Notepad"))
clo w1
#sub EndMacroB
EndThread "MacroA:MacroB"
Quote:Is there a way I can use an "if .. then .. else" case to search if the window showing up is activeMacro MacroA2