Core Function WinExists
From Sputnik Wiki
(Difference between revisions)
Line 19: | Line 19: | ||
=== Return Value === | === Return Value === | ||
− | Returns | + | Returns the window's HWND if the window exists, otherwise returns 0. |
=== Remarks === | === Remarks === | ||
− | |||
− | |||
See "WinTitleMatchMode" in [[Core Function Opt|Opt]] | See "WinTitleMatchMode" in [[Core Function Opt|Opt]] |
Revision as of 16:08, 4 December 2011
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 the window's HWND if the window exists, otherwise returns 0.
Remarks
See "WinTitleMatchMode" in Opt
Example
If ( WinExists("Untitled -") ) MsgBox("Window exists");