Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
How can I remap a keyboard key?

I have a mute button on my keyboard, which I use a lot. I also have three buttons I never use...Internet...Email...Search. Is there a hack that a novice user like me can do to get one of those three useless buttons to put my computer into "standby" mode?

share|improve this question

marked as duplicate by slhck Oct 18 '12 at 16:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I thought this was dupe as well, from the question title alone. However, this asker wants to know specifically about using those other useless buttons on his uber-extended keyboard. –  JMD Nov 19 '09 at 21:11
    
what brand and model of keyboard? –  Snark Nov 19 '09 at 21:13
    
The keyboard that came with my eMachines computer...Keyboard Model# KB-9908 –  Patriot Nov 19 '09 at 21:15

5 Answers 5

up vote 5 down vote accepted

Okay I found it!

Here, is all what you can find about key remapping. Keytweak work fine for me, is a free keyboard remapper for Windows NT/2000/XP/Vista/Win 7. It makes use of Microsoft's Scancode Map registry key to remap your keyboard.

alt text

This thing lets you remap one of your Internet / Email or Search keys to a sleep key !

It may not work for your keyboard model, make sure you have the latest driver.

share|improve this answer
    
@Revolter - You win the checkmark. A great piece of software, but I'm having one helluva time finding the right keyboard driver. Although my computer is an eMachines, the motherboard has been replaced. Googling the drive # gets lots of links. Haven't found one yet that works without trying to add something else to my computer. But it's a fun project so far. However, I've spent too many hours on it already. Don't know if it's worth the effort to continue, just to remap one stinking key. But I can see "Keytweak" coming in handy down the road. Thanks a million. –  Patriot Nov 20 '09 at 13:24
    
According to virustotal.com, Key Tweak does have a trojan :(. Here is the analyzed result of the installer virustotal.com/file-scan/… –  Nam G VU Oct 7 '10 at 23:59

I don't know a way to remap an existing key such as the shortcut ones - however you can do the following :

Open up notepad or any text editor and write :

%windir%\system32\rundll32 powrprof.dll,SetSuspendState

Save this anywhere (can be in any folder) as anything you like as long as it has an extension of .cmd or .bat

Next, make a shortcut to this script from anywhere and right click it. Set up a shortcut key - can be anything, but try not to use something that another application does - using a combination (2 or more) of Ctrl+Alt+Shift along with another key.

Now, whenenver you type this combination, you should go in to suspend.

alt text

share|improve this answer
    
I like it! Neat –  Guy Thomas Nov 19 '09 at 21:38

If you're willing to put a little time into it, you may be able to pull it off with AutoHotkey. See How to catch special application keys?

Once you have the proper code for your key, I think you would put something like this in the AHK file:

[keycode]::Run %windir%\system32\rundll32 powrprof.dll,SetSuspendState

To build on Wil's answer, that is.

share|improve this answer

Unless you have another app installed to hook onto the keystroke, it looks as though default XP doesn't have one.

Linky: MSFT XP Shortcuts

With regard to hardware, what keboard are you using?

share|improve this answer
    
The one that came with my eMachines computer, Keyboard model # KB-9908 –  Patriot Nov 19 '09 at 21:08

In many cases, Sharpkeys should be able to recognize the keys. This isn't really a separate application to interpret your keys, it's really a frontend for remapping the keys in the registry, which means you only need to do it once, and can then remove the program if you don't want to do it again. It could do with better roll-back features, however, so back up your registry before using it.

With this solution, you should not have to worry about your keyboard driver or anything like that.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.