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.

Some keyboards have a play/pause button built into the keyboard. I don't have one of those, but I'd like to set up a keyboard shortcut to do the same thing. I'd like the shortcut to work no matter what application has the focus. Is there a way to configure this in WinXP?

Also, I'm using an old version of WinAmp (2.95). I'm not sure if that matters, as I thought these keyboard buttons worked universally somehow (but maybe I'm wrong?).

share|improve this question

2 Answers 2

up vote 1 down vote accepted

If you install the command line program Clever you can drive Winamp with command line arguments. Once you have that working and have figured out which command line arguments you want to use, you can make a windows shortcut with that command line argument and then assign a keyboard shortcut to that windows shortcut.

share|improve this answer
    
thanks. after some more searching i managed to find this plugin which lets me assign global shortcuts, and it works with winamp 2.x: winamp.com/plugin/dimin-hotkeys/79310 –  Kip Apr 9 '10 at 20:01

You can do this with an AutoHotkey script. From the AutoHotkey docs here's an example to bind Ctrl+Alt+P to the pause/unpause command:

^!p::
IfWinNotExist ahk_class Winamp v1.x
    return
; Otherwise, the above has set the "last found" window for use below.
ControlSend, ahk_parent, c  ; Pause/Unpause
return
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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