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.

For the longest time the Media button on my keyboard used to launch Winamp. I don't remember having to do anything to set that up. But suddenly now the button launches stupid Windows Media Player when I press it. I have tried everything I can think of to change it back. Winamp is set to open all the filetypes it can. It is set as my default media player (from Default Programs > Set program access and computer defaults). When I go to Default Programs > Set Default Programs there is only a small list of programs there and Winamp is not one of them and there doesn't seem to be anyway to add or remove programs from that list. I don't no what the point of that silly thing is.

I tried re-installing Winamp. I looked through the Windows Media Player options, nothing there. I considered uninstalling or disabling WMP but that isn't easy and I'm not sure if I want to do that anyway. My keyboard doesn't have any special drivers installed and I can't find any for it, BenQ doesn't support it anymore. It worked fine before without drivers anyway.

So the question is where is the magic place to set what the Media Button does? Something in the registry?

share|improve this question
1  
What model of BenQ keyboard do you have? What version of Windows are you running? –  jabolotai Mar 14 '12 at 23:57

4 Answers 4

up vote 12 down vote accepted

On Windows 7 (and since Windows ME apparently) these enhanced keyboard keys can be handled directly by Windows using the APPCOMMAND system.

The associations for these keys are stored in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey.
(It can be overridden, per user, by adding it in HKCU as well I think).

AppKey 16 is the "Media Launcher" key (APPCOMMAND_LAUNCH_MEDIA_SELECT). By default it has an association with .cda (Audio CD's).

So which ever program you have set as the program to handle Audio CD's will be what opens when you hit the Media Launch key.

I have Winamp currently set to control .CDA files (Winamp-->Options-->Preferences-->General Preferences-->File Types), and it opens when I hit the "Music note" key on my Logitech with no additional drivers installed.

share|improve this answer
    
Nicely done! Strange, in the Winamp preferences it is set to open CDs but when I actually checked Default Programs > Set Associations, .cda was indeed set to Windows Media Player. Finally! Thanks dude. –  Moss Mar 15 '12 at 2:08
    
Yeah, Winamp's internal association setter and Win 7's "Program Defaults" associations don't play well togeather. :) –  Ƭᴇcʜιᴇ007 Mar 15 '12 at 12:16

This is the real thing you have to do to make anyprogram be default of media button: Startmenu-> Control Panel-> All Control Panel Items-> Default Program-> Associate a file type of protocol of program -> ... find .cda, click on it and click "Change program..." -> Choose any media program you want like Jetaudio or Winamp -> OK

Then you can instead open your program by pressing media button.

share|improve this answer

http://www.winamp.com/help/Winamp_Preferences_guide#General_Preferences:_Global_Hotkeys

The Winamp Preferences screen is accessible via the Bento or Modern skin by selecting 'Preferences' from the 'Options' menu.

It can also be accessed in all skins by hitting Ctrl+P on your keyboard, when Winamp is the focused application.

General Preferences: Global Hotkeys

  • Enable default multimedia key support: Will attempt to process media keys by using WM_APPCOMMAND messages ('off' by default). Try checkmarking this option if your Play/Pause, Stop, Previous & Next keys aren't recognized by just using the 'Enable' Global Hotkeys setting below.
  • Enabled: Checkmark this to enable Global Hotkeys. Global Hotkeys can be used to perform actions (Play, Stop, Next, Previous, Rate Items, Copy Title, etc) even when Winamp isn't the active application.
  • Action: Select which extra hotkeys to enable via the drop-down menu.
  • Hotkey: Use your keyboard to select a unique hotkey for the selected action (eg. hold down Ctrl + Shift + H) then click the 'Add' button.
share|improve this answer
2  
Link-only answers are discouraged here at SU due to potential future link-rot. Please include pertinent information in your answers. –  Ƭᴇcʜιᴇ007 Mar 15 '12 at 0:23
1  
Sorry. I've copied the information now. –  matthewk Mar 15 '12 at 0:40
    
Sorry, not exactly the problem I was having. The play control keys were actually working, just not the app launch button. I did have the WM_APPCOMMAND button checked but it made no difference. Anyway, problem solved. –  Moss Mar 15 '12 at 2:10

In Windows 8.1

  • Control Panel\Programs\Default Programs - Set program access and computer defaults
  • expand "custom"
  • in "Choose a default media player" select "winamp"
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.