WinGetActiveTitle

获取活动窗口的标题。

WinGetActiveTitle, OutputVar

参数

OutputVar

用来保存活动窗口标题的变量名.

备注

此命令相当于:WinGetTitle, OutputVar, A

相关

WinGetPos, WinGetActiveStats, WinGetTitle, WinGetClass, WinGetText, ControlGetText

示例

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