Sign in with
Sign up | Sign in
Your question

Is there a way to put my PC in sleep mode with a button?

Last response: in Windows 8
Share
January 7, 2014 1:02:13 PM

On my last keyboard I had a button that put my PC automatically into sleep mode. The new one doesn't, however it has macro so I wanted to make a keybinding for it. But I don't know if there's actually a way to activate sleep mode with a key binding (CTRL + ALT + S for example).

More about : put sleep mode button

a b * Windows 8
January 7, 2014 1:15:29 PM

depends on your keyboard software and how it handles macro''s

but try this.
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
as the macro instruction

it runs an external dll powrprof.dll
giving it which instruction to run setsuspendstate with the command sleep.

just attach the instruction to the keys pressed and it should work.

m
0
l
January 7, 2014 1:50:45 PM

You could also just set the case power button to put the computer to sleep.

The setting is in Control Panel->Power Options->Change plan settings->Advanced Power Settings->Power Button Action
m
0
l
!