Core Function WinGetClassList

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> WinGetClassList ( <title>, <text> ) </pre> === Description === Retrieves the classes from a window. === Parameters === ==== Title ==== The title of the window. ==== T...")
 
m (1 revision)
 
(One intermediate revision by one user not shown)

Latest revision as of 12:37, 14 June 2015

WinGetClassList ( <title>, <text> )

Contents

Description

Retrieves the classes from a window.

Parameters

Title

The title of the window.

Text

Optional; The text of the window to read.

Return Value

Success: Returns an array containing the window classes.

Failure: Returns empty array.

Remarks

WinGetClassList works on both minimized and hidden windows.

If multiple windows match the criteria, the classes are read from the most recently active window.

See "WinTitleMatchMode" in Opt

Example

$ClassList = WinGetClassList("Untitled - Notepad", "");
foreach($ClassList as $Class)
{
	println($Class);
}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox