Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Microsoft Natural keyboard that has a slew of media keys on it. Currently they are mapped to play/pause/next/previous functions in Winamp.

I've started using Rainmeter and found a nice little config that I'd like to use in place of having Winamp in the foreground all of the time.

The issue I'm finding is that if Winamp is minimized (but still playing), then my media keys no longer work.

Is it possible to continue to use my media keys with Winamp that I can have my Rainmeter config in the foreground?

I'd rather not have both of them visible at the same time. I'm using Windows XP Pro with Rainmeter 1.1.

share|improve this question
up vote 2 down vote accepted

I use Global Hotkeys in Winamp (they're in Options -> General Preferences). I've set my play hotkey to Ctrl + Alt + X, for instance; this key combination works from any app, wherever I am, even when Winamp is minimized.

You can also set your multimedia keys as Global Hotkeys. This should allow you to control Winamp, even when it's minimized.

share|improve this answer
it seems that winamp doesn't recognize the keypresses for setting global hot keys....any idea how to get around this? – espais Nov 12 '09 at 14:29
It's a bit strange. It should work; I've got a Microsoft wireless keyboard and it works without a problem. If you really want global hotkeys, you can just create something like what I use, Ctrl + Alt + the first 5 lower left keys . – alex Nov 12 '09 at 14:42
yes, very strange....its setup in the keyboard options as play/pause media tracks, and the back/forward keys are set to prev/next track...i've tried disabling those options there as well, and yet winamp still doesn't see it as a keypress...very odd – espais Nov 12 '09 at 15:34
nice suggestion on the global hotkeys, i strangely like it more than using my media buttons :) – espais Nov 19 '09 at 6:55
I've got media buttons on my keyboard as well, but I ignore them. It seems easier to just press Ctrl + Alt + something :). Glad to know it solved your problem. – alex Nov 19 '09 at 10:56

You can do this using AutoHotkey. It's designed to do exactly what you're asking. It's a simple scripting language that can bind actions to keys.

Here's a very simple example

IfWinNotExist ahk_class Winamp v1.x
; Otherwise, the above has set the "last found" window for use below.
ControlSend, ahk_parent, c  ; Pause/Unpause

This will cause Alt-Shift-P to send a "c" key to Winamp causing it to pause. It is possible to map the key to anything on your system. I think you can replace ^!p with {Media_Play_Pause} to use multimedia. I don't have one of those fancy keyboards.

Here are some multimedia keys AutoHotkey supports:


Here are more details:

share|improve this answer
thanks for the info, however i started using the global hotkeys and found i actually like them better! – espais Nov 19 '09 at 6:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .