语法
表达式.ActiveWindow
表达式 一个代表 Application 对象的变量。
示例
本示例显示活动窗口的名称(Caption 属性)。
MsgBox("The name of the active window is " + ActiveWindow.Caption)