Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not A_IsAdmin {
- run *RunAs "%A_ScriptFullPath%"
- ExitApp
- }
- #SingleInstance, force
- SendMessage, 0x112, 0xF170, 2,, Program Manager ; 0x112 is WM_SYSCOMMAND, 0xF170 is SC_MONITORPOWER.
- BlockInput, on
- Input, doesntmatter,, {Escape}{Space}{Control}{Shift}{CapsLock}
- BlockInput, off
- exitapp
- return
Advertisement
Add Comment
Please, Sign In to add comment