Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Turn off screen by pressing Win + Esc
- #NoTrayIcon ; Does what it says on the tin.
- Sleep 1000 ; Give user a chance to release key incase their release would wake up monitor again.
- #Escape::SendMessage 0x112, 0xF170, 2,, Program Manager ; 0x112 is WM_SYSCOMMAND, 0xF170 is SC_MONITORPOWER.
Advertisement
Add Comment
Please, Sign In to add comment