作者: TheGood 最近更新时间: 20100305
I think this is the most accurate way to check if an application is currently in fullscreen mode. Based on information from the Microsoft KB.
* Supports multiple monitors (the return value is the index of the monitor on which the window is fullscreen).
* Works even with different taskbar settings (auto-hide, always-on-top).
* Works with other registered taskbars (e.g. Ultramon).
IsFullscreen(sWinTitle = "A", bRefreshRes = False)
关于函数的参数和返回值, 请参阅其源码.
关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?t=55041
不存在
; #Include IsFullScreen.ahk #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% MsgBox Click Win+LeftMouseButton to see if application is in fullscreen mode. Return #LButton:: MsgBox % IsFullscreen() Return