###Function###
WinWait

###Description###
Pauses execution of the script until the requested window exists.

###Syntax###
WinWait ( "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 does not exist. Default is 0 (no timeout).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a handle to the requested window.
Failure:	0 if timeout occurred.
@@End@@


###Remarks###
The window is polled every 250 milliseconds or so.


###Related###
ProcessWait, WinActive, WinExists, WinWaitActive, WinWaitClose, WinWaitDelay (Option), WinWaitNotActive


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