This set of 2 scripts and Micha's DLL file (thanks again Micha! couldn't have done it otherwise) allow you to replace the default actions of those media keys on some keyboards (like Play, Pause, Volume, etc) by defining your own actions.
This could probably also be used for other USB devices with very few changes.
I've included an instructions text file and examples/info at the top of each script file. Please take a look at them or else you probably won't get very far
As an example of what it can do: I've currently remapped the volume wheel on my keyboard to adjust the master volume and display a simple On Screen Display (OSD) of the action and the volume level.
Download link (zip file):
http://autohotkey.net/~evl/KeyboardMedi ... 20Keys.zip
Micha's original script thread:
http://www.autohotkey.com/forum/viewtopic.php?t=6367
It would be helpful to others if anyone using the script could report back their keyboard make/model and if they had to change the EditUsage and EditUsagePage values from the default (all described in the zip file).
p.s. Micha, I hope you don't mind me including your DLL file in the zip file?