Core Function WinGetTitle

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> WinGetTitle ( <title>, <text> ) </pre> === Description === Retrieves the full title from a window. === Parameters === ==== Title ==== The title of the window. ==== Te...")
 
m (1 revision)

Revision as of 21:40, 11 August 2014

WinGetTitle ( <title>, <text> )

Contents

Description

Retrieves the full title from a window.

Parameters

Title

The title of the window.

Text

Optional; The text of the window to read.

Return Value

Returns a string containing the complete window title.

Returns numeric 0 if no title match.

Remarks

WinGetTitle("") returns the active window's title.

WinGetTitle works on both minimized and hidden windows.

If multiple windows match the criteria, the most recently active window is used.

See "WinTitleMatchMode" in Opt

Example

$title = WinGetTitle("Untitled -", "");
MsgBox("Full title read was: $title");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox