Core Function WinExists
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> WinExists ( <title>, <text> ) </pre> === Description === Checks to see if a specified window exists. === Parameters === ==== Title ==== The title of the window. ==== ...")
Newer edit →
(Created page with "<pre> WinExists ( <title>, <text> ) </pre> === Description === Checks to see if a specified window exists. === Parameters === ==== Title ==== The title of the window. ==== ...")
Newer edit →
Revision as of 23:52, 26 November 2011
WinExists ( <title>, <text> )
Contents |
Description
Checks to see if a specified window exists.
Parameters
Title
The title of the window.
clicks
Optional; The text of the window .
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");