Any idea why?
Code: Select all
#End::
Shutdown, 1
;Run Shutdown /S /T 1
Code: Select all
#End::
Shutdown, 1
;Run Shutdown /S /T 1
To shutdown and power down the code would be 9 (shutdown + power down = 1 + 8 = 9). Alternatively, an expression such as 1+8 can be specified. The "Power down" value shuts down the system and turns off the power.
I just tested -9 but it still triggers sleep instead of shutting down.mikeyww wrote: ↑22 Sep 2020, 05:43This is explained well in the documentation. "Power down" is used to turn off the electrical power. I've pasted the instructions here.
To shutdown and power down the code would be 9 (shutdown + power down = 1 + 8 = 9). Alternatively, an expression such as 1+8 can be specified. The "Power down" value shuts down the system and turns off the power.
Code: Select all
;#1: Force a reboot (reboot + force = 2 + 4 = 6):
Shutdown, 6
Code: Select all
F2::Runwait, cmd.exe /c shutdown /s /t 1
Users browsing this forum: Bing [Bot], popdeg, slishnevsky, Spawnova and 159 guests