aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-05-23 14:54:08 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-05-23 14:54:08 +0200
commit45afeb494e081d4bb56f860ddff39f5c1893c8b0 (patch)
treeb6aa8cdc75bcff417a63f914a3cc8a2862dd2f78
parentc68774a7052a45130a50f955d0f6eb64e3894530 (diff)
downloadahk-45afeb494e081d4bb56f860ddff39f5c1893c8b0.tar.gz
scripts: Change Sleep shortcut keys
-rw-r--r--scripts.ahk9
1 files 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