我有这个AutoHotkey
片段,它将关闭两个显示器。接下来我想要做的就是能够选择要关闭的确切显示器(在我的情况下,我正在运行双显示器)。我只做过最少的#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
; Win+\
#\::
BlockInput On
SendMessage 0x112, 0xF170, 2, , Program Manager ; Monitor off
SendMessage 0x112, 0xF140, 0, , Program Manager ; Screensaver
Sleep 2000
BlockInput Off
return
编码,并且在AHK处理一些Google-Fu方面处理多台显示器方面并没有发现太多。有人有建议吗?
{{1}}