Message Codes for the Media Player
------------------------------------------------------------------------------------------
![Image](http://www.kwikpiks.com/files/47/Rainmeter%20forum/WindowsMediaPlayer_100x.png)
Windows Media Player 11:
WindowClass=WMPlayerApp
WindowMessage Codes for: !RainmeterPluginBang
Prev: 273 18810 0
Play: 273 18808 0
Stop: 273 18809 0
Next: 273 18811 0
Volume + : 273 18815 0
Volume - : 273 18816 0
Mute : 273 18817 0
Shuffle : 273 18842 0
Repeat : 273 18843 0
Kill WMP (close) : 273 57665 0
If I found more codes I will add it ...
Example:
[Bangs]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp
[Meter_Close_WMP]
Meter=BUTTON
ButtonImage=button_name.png
X=0
Y=0
ButtonCommand=!RainmeterPluginBang "Bangs SendMessage 273 57665 0"
===============================================================
------------------------------------------------------------------------------------------
![Image](http://www.kwikpiks.com/files/47/Rainmeter%20forum/WinAmp_100x.png)
WinAmp:
WindowClass=Winamp v1.x
WindowMessage Codes for: !RainmeterPluginBang
Prev: 273 40044 0
Next: 273 40048 0
Play: 273 40045 0
Pause/Unpause: 273 40046 0
Stop: 273 40047 0
Fadeout and stop : 273 40147 0
Stop after current track : 273 40157 0
Fast-forward 5 seconds : 273 40148 0
Fast-rewind 5 seconds : 273 40144 0
Start of playlist : 273 40154 0
Go to end of playlist : 273 40158 0
Toggle title Autoscrolling : 273 40189 0
Raise volume by 1% : 273 40058 0
Lower volume by 1% : 273 40059 0
Toggle repeat : 273 40022 0
Toggle shuffle : 273 40023 0
Play audio CD : 273 40323 0
Kill WA (close) : 273 40001 0
Example:
[Bangs]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
[Meter_Close_WA]
Meter=BUTTON
ButtonImage=button_name.png
X=0
Y=0
ButtonCommand=!RainmeterPluginBang "Bangs SendMessage 273 40001 0"
===============================================================
GM