调用 API 函数 "IsWindowVisible" 来判断记事本窗口是否可见
DetectHiddenWindows On if not DllCall("IsWindowVisible", "Ptr", WinExist("Untitled - Notepad")) ; WinExist() 返回 HWND. MsgBox The window is not visible.
仅作为学习供参考!
DetectHiddenWindows On if not DllCall("IsWindowVisible", "Ptr", WinExist("Untitled - Notepad")) ; WinExist() 返回 HWND. MsgBox The window is not visible.
仅作为学习供参考!
之前