Pauses execution of the script until the requested window is not active.
WinWaitNotActive ( "title" [, "text" [, timeout = 0]] )
|title||The title/hWnd/class of the window to check. See Title special definition.|
|text||[optional] The text of the window to check. Default is an empty string. See Text special definition.|
|timeout||[optional] Timeout in seconds if the window is still active. Default is 0 (no timeout).|
|Failure:||0 if timeout occurred.|
The window is polled every 250 milliseconds or so.
WinActive, WinExists, WinWait, WinWaitActive, WinWaitClose, WinWaitDelay (Option)