I want to use a hotkey

G

Guest

I want to be able to press say F11 (or any such unused key) to put my
machine into standby just by pressing it (or keeping it pressed).
This would be a neat trick if I could do it .
TIA
 
W

Wesley Vogel

Create a shortcut to Standby and assign a key combo to the shortcut. You
will have to use Ctrl + Alt + some other key.

Desktop Standby Shortcut.

Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Click Next | Type a name like: Standby | Click Finish

You can assign a Shortcut key...

1. Locate the shortcut that you created, right click it and click
Properties.

2. Click the Shortcut tab.

3. With the cursor in the Shortcut key box, select the keyboard key you
want to use in combination with CTRL+ALT. Shortcut keys automatically start
with CTRL+ALT. The Shortcut key box will display None until you select the
key and then the box will display Ctrl+Alt+the key you selected. You cannot
use the ESC, ENTER, TAB, SPACEBAR, PRINT SCREEN, SHIFT, or BACKSPACE keys.

Note
Once you assign a shortcut key combination for a specific program, you will
not be able to use that key combination with other programs.

If you forget the key combination for your shortcut, you can follow steps 1
& 2 and review your shortcut keys.

Shortcut tab
Lists the shortcut name, target information, and shortcut key. Allows you to
choose the way the item is displayed when you open the shortcut: in a
standard window, a full screen (maximized), or as a button on the taskbar
(minimized). Also allows you to view the shortcut's target, change the icon
for the shortcut, and open a shortcut as a different user.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
G

Guest

Wesley, Firstly thanks so much for the info, the problem now is that the
computer goes into hibernation instead of Standby as I would like it to ?
 
W

Wesley Vogel

Oops, I forgot this part.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

How To Put the System into hibernation or Standby from Run menu
http://support.microsoft.com/kb/555569

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top