All entries for Sunday 29 May 2005

May 29, 2005

Keyboard Play Button & iTunes (or Winamp)

I got a new keyboard today, but the software for it's not all that flexible. Unfortunately, without the software running half of the buttons don't work, but with it running the Play button loads Windows Media Player instead of iTunes. Because the software handles it, TweakUI can't fix it either, and I can't replace wmplayer.exe without disabling Windows (System) File Protection. So, here's a workaround for anyone with a similar problem:

iTunes

  1. Run regedit
  2. Browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
  3. Create a new key called wmplayer.exe
  4. Create a new string value called Debugger
  5. Set the value to "c:\Program Files\iTunes\iTunes.exe"
  6. Test it (no restart required)
  7. Exit Registry Editor

The same thing applies for making the Calculator button launch PowerToy Calc too. Of course your keyboard may be more flexible.

Winamp

For Winamp there is an additional complication: The "Debugger" is passed the filename as a parameter. iTunes ignores this but Winamp thinks it's a filename and tries to play it. Here's how to do this for Winamp:

  1. Download ProgLauncher
  2. Extract ProgLauncher.exe and Notepad.cfg somewhere. I chose the Winamp folder. Rename Notepad.cfg to ProgLauncher.cfg (or whatever you want as long as they match).
  3. Open ProgLauncher.cfg in your favourite text editor
  4. Change the first line to Winamp.exe (may need the full path)
  5. Change the second line to ""
  6. Change the third line to whatever path you want (e.g. the full path to My Music)
  7. Save and close the file
  8. Run regedit
  9. Browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
  10. Create a new key called wmplayer.exe
  11. Create a new string value called Debugger
  12. Set the value to "c:\Program Files\Winamp\ProgLauncher.exe" (change as necessary)
  13. Test it (no restart required)
  14. Exit Registry Editor

Please let me know if this helps you (comments below), or if I've missed anything, etc.

Dave-Miller.com - 29th


May 2005

Mo Tu We Th Fr Sa Su
Apr |  Today  | Jun
                  1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31               

Search this blog

Favourite blogs

Galleries

Most recent comments

  • They’ve had a drastic makeover since I posted this. At least it doesn’t hurt your eyes to read it an… by on this entry
  • Some Colour would’ve been nice If he’s going to go all out on a blinding spree he may as well do it … by John on this entry
  • Cool, thanks! by on this entry
  • This one is by far the best I’ve ever seen… http://www.freewebs.com/nerdcave/taskbarshuffle.htm Free… by Jane on this entry
  • Googled John Hampson and found a link to this site. Hello from Stonehaven, sunny north east Scotland… by John Hampson on this entry

Blog archive

Loading…
Not signed in
Sign in

Powered by BlogBuilder
© MMXXII