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

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).
3 answers Last reply
More about put sleep mode button
  1. 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.
  2. 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
  3. You could also make a shortcut. I made shortcuts to my Power down and restart buttons and placed them on my Start bar on my desktop, So Its always 1 click away.
Ask a new question

Read More

Sleep Mode Macros Keyboards Windows 8