Core Function WinExists

From Sputnik Wiki
Revision as of 16:08, 4 December 2011 by UberFoX (Talk | contribs)
Jump to: navigation, search
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");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox