# 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

## Examples

#1

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