From 45afeb494e081d4bb56f860ddff39f5c1893c8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 23 May 2021 14:54:08 +0200 Subject: scripts: Change Sleep shortcut keys --- scripts.ahk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts.ahk b/scripts.ahk index 3e9c222..cb2d0f2 100644 --- a/scripts.ahk +++ b/scripts.ahk @@ -77,17 +77,12 @@ return ; Sleep -^+F12 Up:: +<^>!+F12 Up:: 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:: +<^>!F12 Up:: Sleep, 600 Run, %A_WinDir%\system32\Mystify.scr /s ; start screen saver return -- cgit v1.2.3