From 72460e076518f1721edf6ee1f81c3d32737b87cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 24 Aug 2021 23:23:08 +0200 Subject: scripts: Add hotkey to turn off monitor --- scripts.ahk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts.ahk b/scripts.ahk index cb2d0f2..1cde37d 100644 --- a/scripts.ahk +++ b/scripts.ahk @@ -82,6 +82,11 @@ Sleep, 600 DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) return +<^>!^F12 Up:: +Sleep, 600 +SendMessage,0x112,0xF170,2,,Program Manager ; turn off monitor +return + <^>!F12 Up:: Sleep, 600 Run, %A_WinDir%\system32\Mystify.scr /s ; start screen saver -- cgit v1.2.3