Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Hardware > need to create a hot button to cause sleep

Reply
Thread Tools Display Modes

need to create a hot button to cause sleep

 
 
rjl24
Guest
Posts: n/a

 
      02-15-2008

Vista Home Premium.

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState

and

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState Sleep

both previously supplied to me via forum do not seem to work correctly.


Have Logitech EX110 which has NO sleep button, nope, no sleep button!

The above listed commands cause the computer to more power down with no
power light left on at all requiring using the power button only to
awaken the computer. But Windows does resume when I re-power the
computer using teh power button.

The sleep which I wish to create leaves the amber light on the
computer, and awakes from my movement of the mouse or keyboard.

To wake the computer from the above suggested commands requires use of
the power button rather than moving the mouse, for example.

These commands cause the power light to go off altogether.


I wish to create a shortcut that mimics the sleep command that is
created from the start button on Windows (amber light on power), to use
as the hot button command.

Right clicking on that "Sleep" only gives me a message about the sleep
function and not the properties from which to copy.


Please be as detailed as possible.

Thanks in advance,
Robert.


--
rjl24

HP S3213W, Vista Home Premium.
 
Reply With Quote
 
 
 
 
usasma
Guest
Posts: n/a

 
      02-16-2008
Have you tried "powercfg -a" (without the quotes) from the command prompt to
see if the sleep states are available?

- John

"rjl24" wrote:

>
> Vista Home Premium.
>
> C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState
>
> and
>
> C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState Sleep
>
> both previously supplied to me via forum do not seem to work correctly.
>
>
> Have Logitech EX110 which has NO sleep button, nope, no sleep button!
>
> The above listed commands cause the computer to more power down with no
> power light left on at all requiring using the power button only to
> awaken the computer. But Windows does resume when I re-power the
> computer using teh power button.
>
> The sleep which I wish to create leaves the amber light on the
> computer, and awakes from my movement of the mouse or keyboard.
>
> To wake the computer from the above suggested commands requires use of
> the power button rather than moving the mouse, for example.
>
> These commands cause the power light to go off altogether.
>
>
> I wish to create a shortcut that mimics the sleep command that is
> created from the start button on Windows (amber light on power), to use
> as the hot button command.
>
> Right clicking on that "Sleep" only gives me a message about the sleep
> function and not the properties from which to copy.
>
>
> Please be as detailed as possible.
>
> Thanks in advance,
> Robert.
>
>
> --
> rjl24
>
> HP S3213W, Vista Home Premium.
>

 
Reply With Quote
 
rjl24
Guest
Posts: n/a

 
      02-16-2008

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Robert J. Lafayette>powercfg -a
The following sleep states are available on this system:
Standby ( S1 S3 ) Hibernate Hybrid Sleep
The following sleep states are not available on this system:
Standby (S2) The system firmware does not support this standby state.

C:\Users\Robert J. Lafayette>


Please advise what next to do.

Thanks,
Robert


--
rjl24

HP S3213W, Vista Home Premium.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a hide button??? SerenityMay Windows Vista Security 2 03-28-2008 07:03 PM
Sleep Button Pete138 Windows Vista General Discussion 1 07-17-2007 07:16 PM
PC won't sleep auto; but will when I hit vista power button mj Windows Vista General Discussion 9 05-21-2007 05:57 PM
PC won't sleep auto; but will when I hit vista power button mj Windows Vista Performance 7 05-21-2007 05:21 PM
use the Sleep button as a shutdown button podger Windows Vista General Discussion 4 05-09-2007 08:52 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59