Windows 8 and 8.1 Forums


Create Sleep button shortcut on desktop

  1. #21


    Posts : 22,577
    64-bit Windows 10


    Ah, ok. That's probably why it's working for you and not for TastyOne then.

      My System SpecsSystem Spec

  2. #22


    Posts : 14
    Win 8.1


    After spending far too much time on trying to find a solution for this, I am happy to report that I finally have success!

    As is often the case, the solution is simple; rather elegant actually.

    All that's needed are the following keystrokes:

    Alt-F4
    {Up}
    {Enter}

    They have been coded into an Autohotkey script that sits on my desktop close by my
    Shutdown, Restart and Hibernate shortcuts.

      My System SpecsSystem Spec

  3. #23


    Posts : 22,577
    64-bit Windows 10


      My System SpecsSystem Spec

  4. #24


    Quote Originally Posted by TastyOne View Post
    After spending far too much time on trying to find a solution for this, I am happy to report that I finally have success!

    As is often the case, the solution is simple; rather elegant actually.

    All that's needed are the following keystrokes:

    Alt-F4
    {Up}
    {Enter}

    They have been coded into an Autohotkey script that sits on my desktop close by my
    Shutdown, Restart and Hibernate shortcuts.

    Would you mind sharing the script or providing details on how you created it? Thanks.
      My System SpecsSystem Spec

  5. #25


    USA
    Posts : 99
    Windows 8.1 with Bing


    Quote Originally Posted by TastyOne View Post
    I am glad I found this site!
    Brink has created all kinds of cool desktop shortcuts for 8.1

    There is one that I hope he can help me with.

    I have created a shutdown shortcut on my Win 8.1 tablet that works nicely (thanks to Brink).

    My tablet has a physical button on the side that is used to put the tablet into instant sleep mode.
    You press the button and the tablet immediately turns off (goes to sleep).
    You press the button again and the tablet immediately turns on again (comes out of sleep).

    I would like to create a shortcut on my desktop (NOT the Metro start screen) that will function the same way the
    physical button does, that is, the tablet will immediately turn off (goes to sleep).

    Someone posted something close, but not quite the same thing; ....powrprof.dll.SetSuspendState Sleep
    When I create a shortcut with the above code the tablet actually *shuts down*.
    I know this because when I press the power button the tablet goes through the cold start up routine.

    I would like the shortcut to do EXACTLY the same thing that happens when I press the power button on the tablet; go *immediately* into sleep. And pressing the power button after that should turn the tablet *immediately* back on.

    Thanks!
    Try this. Its way better than creating a icon

    Power - Add Cascading Desktop Context Menu in Windows 8
      My System SpecsSystem Spec

  6. #26


    Posts : 14
    Win 8.1


    [QUOTE=Daxter;424096]
    Quote Originally Posted by TastyOne View Post
    I am glad I found this site!
    Try this. Its way better than creating a icon

    Power - Add Cascading Desktop Context Menu in Windows 8
    Thanks for your post Daxter.

    Actually, in my case, it's not better than creating an icon.

    There are two reasons why.

    First, the commands are buried in a menu. This mean the commands cannot be accessed with a single press of the screen.

    Second, the sleep command that is available with this context menu does not work with my tablet (Dell Venue Pro 8).
    If you read the thread from beginning to end you will see what I mean.
      My System SpecsSystem Spec

  7. #27


    Posts : 14
    Win 8.1


    Quote Originally Posted by esoh View Post
    Would you mind sharing the script or providing details on how you created it? Thanks.
    Sure no problem.

    Send !{F4}
    Sleep 100
    Send {Up}
    Sleep 100
    Send {Enter}
    return

    It's an Autohotkey script.
    You will need to install Autohotkey on your tablet for this to work, if you haven't already.
    I have named the script Sleep.ahk and it sits right on my desktop along with my
    Airplane mode script and Wifi script.

    Also on my desktop are icons for one-tap access to:
    Shutdown, Hibernate and Restart.
      My System SpecsSystem Spec

Page 3 of 3 FirstFirst 123
Create Sleep button shortcut on desktop
Related Threads
Show/hide desktop icons with a button or shortcut. Is there a way of doing this in Win8.1?
Hi every body I have installed windows 8 just now but there is a big problem for me. I have no sleep button and property in my PC. Look the following photo : 37344 As you see there is no sleep. Do I have do anything to bring it to my PC? I searched the net but I couldn't find the...
How to Create a Power and Sleep PC Settings Shortcut in Windows 8.1 Power and Sleep in PC settings is where you can manage adaptive brightness, turn off the display, and sleep after. This tutorial will show you how to create or download a Power and Sleep shortcut that opens directly to PC...
Hello, Background: Windows 8, HP destop, 4 cores Intel Suddenly few days ago the link for SENDTO DESKTOP evaporated, along with its icon (from imageres: a bluish monitor screen) So I followed the this procedures both manually and using the ready fix Zip folder provided foer Win7. By using...
Hi, I'm new to the forum, and fairly new to Windows 8, which I've been using from the desktop as I can't get on with the Start menu and its tiles. Not using Start8. Anyway, I was using the desktop taskbar with its Start button and Show desktop button and today they have both disappeared. How...
How can I create a simple shortcut to a WEB page? Pretty easy in Win 7. Copy the URL, right click desktop, select new, shortcut, etc... but where is that EASE of use in Win 8? Thanks
How to Create a "Run" Command Dialog Box Shortcut in Windows 8 This tutorial will show how to create or download a Run shortcut that opens directly to the Run command dialog box on your desktop in Windows 8. The default keyboard shortcut to open the "Run" command dialog box is: Windows + R ...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook