Pauses execution of the script until the requested window does not exist.
WinWaitClose ( "title" [, "text" [, timeout]] )
|title||The title of the window to check. See Title special definition.|
|text||[optional] The text of the window to check.|
|timeout||[optional] Timeout in seconds|
|Failure:||Returns 0 if timeout occurred.|
RemarksIf the window already doesn't exist when this function is called it will return 1 immediately. The window is polled every 250 milliseconds or so.
RelatedWinActive, WinExists, WinWait, WinWaitActive, WinWaitNotActive, WinWaitDelay (Option), ProcessWaitClose
;Wait for the window "[CLASS:Notepad]" to not exist
;Wait a maximum of 5 seconds for "[CLASS:Notepad]" to not exist
WinWaitClose("[CLASS:Notepad]", "", 5)