Core Function WinExists
From Sputnik Wiki
WinExists ( <title>, <text> )
Contents |
Description
Checks to see if a specified window exists.
Parameters
Title
The title of the window.
Text
Optional; The text of the window to read.
Return Value
Returns 1 if the window exists, otherwise returns 0.
Remarks
WinExist will return 1 even if a window is hidden.
See "WinTitleMatchMode" in Opt
Example
If ( WinExists("Untitled -") ) MsgBox("Window exists");