首页 » 操作系统 » Windows » 正文 AutoHotKey 自动关闭窗口 发布者:站点默认 2011/04/19 浏览数(1,202) 分类:Windows AutoHotKey 自动关闭窗口已关闭评论 ; AutoHotKey v2 windows := [ "未命名 - Notepad" ; 窗口标题 ] checkInterval := 1000 Persistent() SetTimer(CloseWindow, checkInterval) CloseWindow() { global windows for window in windows { if WinExist(window) { WinClose } } }