Code: Select all
Appskey & left::
SendMessage 0x112, 0xF170, 2, , Program Manager
Return
Code: Select all
Appskey & left::
SendMessage 0x112, 0xF170, 2, , Program Manager
Return
Code: Select all
Appskey & left up::
SendMessage 0x112, 0xF170, 2, , Program Manager
Return
Well, on my system, that doesn't happen, but you could try to use Up:
Code: Select all
Appskey & left up::
SendMessage 0x112, 0xF170, 2, , Program Manager
Return
Code: Select all
#o:: ; Win+O hotkey that turns off the monitor.
Sleep 1000 ; Give user a chance to release keys (in case their release would wake up the monitor again).
; Turn Monitor Off:
SendMessage, 0x112, 0xF170, 2,, Program Manager ; 0x112 is WM_SYSCOMMAND, 0xF170 is SC_MONITORPOWER.
; Note for the above: Use -1 in place of 2 to turn the monitor on.
; Use 1 in place of 2 to activate the monitor's low-power mode.
return
Users browsing this forum: Google [Bot] and 116 guests