WinGetActiveTitle

Retrieves the title of the active window.

WinGetActiveTitle, OutputVar

Parameters

OutputVar

The name of the output variable in which to store the title of the active window.

Remarks

This command is equivalent to: WinGetTitle, OutputVar, A.

WinGetPos, WinGetActiveStats, WinGetTitle, WinGetClass, WinGetText, ControlGetText

Examples

Retrieves and reports the title of the active window.

WinGetActiveTitle, Title
MsgBox, The active window is "%Title%".