WaitWindowChanged
WaitWindowChanged>timeout
This command causes Macro Scheduler to wait until the foreground window changes. I.e. the foreground window's title (caption) changes, or a different window becomes the foreground window. If it doesn't change within the number of seconds specified in Timout, the command stops waiting and the variable WWC_RESULT is set to FALSE. WWC_RESULT is TRUE if the command terminated because the foreground window changed within the specified time. if Timeout is set to 0, the command will wait indefinitely.
Abbreviation : WWX
See also: Wait, WaitWindowOpen, WaitWindowClosed, WaitWindowFocused