檢查指定窗口是否存在.
WinExists ( "標(biāo)題" [, "文本"] )
標(biāo)題 | 目標(biāo)窗口標(biāo)題. 參考 標(biāo)題專用定義. |
文本 | [可選參數(shù)] 目標(biāo)窗口文本. |
成功: | 返回 1, 窗口存在. |
失敗: | 返回 0, 其它(錯(cuò)誤). |
If WinExists("[CLASS:Notepad]") Then
MsgBox(0, "", "窗口存在")
EndIf
provider with jb51.net (unicode) |