WinGetActiveTitle

获取活动窗口的标题.

WinGetActiveTitle, OutputVar

参数

OutputVar

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

备注

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

WinGetPos, WinGetActiveStats, WinGetTitle, WinGetClass, WinGetText, ControlGetText

示例

检索并报告活动窗口的标题.

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