WinActive |
首页 后退 前进 |
WinActive 检查指定窗口是否存在且被激活.
WinActive ( "title" [, "text"] ) 参数
返回值
函数示例 #include <MsgBoxConstants.au3> ---------------------------------------- 参见: WinExists, WinWait, WinWaitActive, WinWaitClose, WinWaitNotActive, WinTitleMatchMode (Опция) exect=$var_handle=WinGetHandle('[CLASS:Notepad]')||$var_s=WinActive(Eval('var_handle'))?'активно':'не~~активно'||_ViewValues('$var_s') ;; 检查记事本窗口是否处于活动状态 © Аверин Андрей для Total Commander Image Averin-And@yandex.ru |