Method wnd.WaitForName
Overload
Waits until this window has the specified name.
public bool WaitForName(Seconds timeout, string name, bool not = false)
Parameters
timeout (Seconds)
Timeout, seconds. Can be 0 (infinite), >0 (exception) or <0 (no exception). More info: Wait timeout. |
name (string)
Window name. Usually it is the title bar text. String format: wildcard expression. |
not (bool)
Wait until this window does not have the specified name. |
Returns
bool
Returns |
Exceptions
TimeoutException
timeout time has expired (if > 0). |
AuWndException
The window handle is invalid or the window was closed while waiting. |
ArgumentException
Invalid wildcard expression. |