[Wishlist] Add QAP features Sleep/Hibernate and a Stop Computer Combo
Stop Computer Combo would be:
“Logoff”
“Shutdown”
“Reboot”
“Power down” (shutdown and turn power off)
“Force” (checkbox for above actions – may cause data loss)
“Suspend” (DllCall(“PowrProf\SetSuspendState”, “int”, 0, “int”, 0, “int”, 0))
“Hibernate” (DllCall(“PowrProf\SetSuspendState”, “int”, 1, “int”, 0, “int”, 0))
“Disable wake events” (checkbox)
“Suspend and Disable wake events” (DllCall(“PowrProf\SetSuspendState”, “int”, 0, “int”, 0, “int”, 1))”Hibernate and Disable wake events” (DllCall(“PowrProf\SetSuspendState”, “int”, 1, “int”, 0, “int”, 1))
“Turn monitor off”
“Start screen saver”
(see examples in https://autohotkey.com/docs/commands/PostMessage.htm)
Done in v9.0.1.