Core Function ControlGetFocus

From Sputnik Wiki
Jump to: navigation, search
ControlGetFocus ( <title>, <text> )

Contents

Description

Returns the ControlRef# of the control that has keyboard focus within a specified window.

Parameters

Title

The title of the window to access.

Text

The text of the window to access.

Return Value

Success: Returns the ClassNameNN of the control that has keyboard focus within a specified window.

Failure: Returns a blank string if window is not found.

Remarks

None.

Example

$a = ControlGetFocus("Untitled - Notepad");
MsgBox($a);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox