AHK script for turning monitor OFF/ON + LOCK screen
exactly as title says, just a quick script in AHK (AutoHotKey) to turn your monitor OFF/ON and/or Lock your screen. it's good if you don't want to wait on the idle timer to turn your monitor off and/or lock the screen and just want it instantly. ON is just a failsafe as it just makes fake mouse movement.
it basically does same as the power setting when PC is idle for xx minutes and turns display off, but with this script you can instantly turn monitor/s off.
Same with Lock screen, it's same as clicking on start > lock, but this script does it with a hotkey.
Current hotkeys are:
CTRL + Page Up = monitor on (fake mouse move)
CTRL + Page Down = monitor off
CTRL + End = Lock screen
you can change hotkeys to whatever you want by editing the script. for hotkey combinations, check official documentation here:
https://www.autohotkey.com/docs/v1/Hotkeys.htm
NOTE: it's for AHK V1
