Core Function WinExists
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> WinExists ( <title>, <text> ) </pre> === Description === Checks to see if a specified window exists. === Parameters === ==== Title ==== The title of the window. ==== ...") |
m (1 revision) |
||
(4 intermediate revisions by one user not shown) | |||
Line 13: | Line 13: | ||
The title of the window. | The title of the window. | ||
− | ==== | + | ==== Text ==== |
− | Optional; The text of the window . | + | Optional; The text of the window to read. |
=== Return Value === | === Return Value === |
Latest revision as of 12:38, 14 June 2015
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");