###Function###
WinWaitClose

###Description###
Pauses execution of the script until the requested window does not exist.

###Syntax###
WinWaitClose ( "title" [, "text" [, timeout = 0]] )


###Parameters###
@@ParamTable@@
title
	The title/hWnd/class of the window to check. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	[optional] The text of the window to check. Default is an empty string. See <a href="../intro/windowsbasic.htm#specialtext">Text special definition</a>.
timeout
	[optional] Timeout in seconds if the window is not closed. Default is 0 (no timeout).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 if timeout occurred.
@@End@@


###Remarks###
If 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.


###Related###
ProcessWaitClose, WinActive, WinExists, WinWait, WinWaitActive, WinWaitDelay (Option), WinWaitNotActive


###Example###
@@IncludeExample@@
