WinGetActiveTitle

AutoHotkey

WinGetActiveTitle

Retrieves the title of the active window.

WinGetActiveTitle, OutputVar

Parameters

OutputVar

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

Remarks

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

Related

WinGetPos, WinGetActiveStats, WinGetTitle, WinGetClass, WinGetText, ControlGetText

Example

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