Core Function WinExists

From Sputnik Wiki
Revision as of 12:38, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox