;*************************************************
;Amp-it  ( Winamp title display and remote )
;*************************************************
[Variables]
	FontFace="Comic Sans MS"
	FontColor=000000
	SHOW=!Execute [!RainmeterShowMeter (prev) Amp-it][!RainmeterShowMeter (play) Amp-it][!RainmeterShowMeter (stop) Amp-it][!RainmeterShowMeter (next) Amp-it][!RainmeterRedraw Amp-it]
	HIDE=!Execute [!RainmeterHideMeter (prev) Amp-it][!RainmeterHideMeter (play) Amp-it][!RainmeterHideMeter (stop) Amp-it][!RainmeterHideMeter (next) Amp-it][!RainmeterRedraw Amp-it]

[Rainmeter]
	Author=Kenz0 (mail2kenz0@gmail.com)
	Background=bg.png
[WINAMP]
	Measure=Plugin
	Plugin=Plugins\WindowMessagePlugin.dll
	WindowClass=Winamp v1.x
	Substitute=" - Winamp":"","[Paused]":"","[Stopped]":""," - ":"%2"
[CURR]
	Measure=Plugin
	Plugin=Plugins\WindowMessagePlugin.dll
	WindowClass=Winamp v1.x
	WindowMessage=1024 0 105
[FULL]
	Measure=Plugin
	Plugin=Plugins\WindowMessagePlugin.dll
	WindowClass=Winamp v1.x
	WindowMessage=1024 1 105
[FULL_S]
	Measure=Calc
	Formula=FULL%60
[DURATION]
	Measure=Calc
	Formula=(CURR<=0)?0:(CURR/(FULL*10+1))
	MaxValue=100
[LINEBRAKE]
	Measure=Plugin
	Plugin=Plugins\WebParser.dll
	UpdateRate=43200
	Url="file://.\Skins\Amp-it\Amp-it.ini"
	RegExp=".*?(\r\n|\n)"
	StringIndex=1
[(marker)]
	MeasureName=DURATION
	Meter=BAR
	X=2
	Y=22
	W=148
	H=16
	BarColor=FFFF54DD
	BarOrientation=HORIZONTAL
[(title)]
	Meter=STRING
	MeasureName=WINAMP
	MeasureName2=LINEBRAKE
	X=4
	Y=3
	;W=150
	;H=36
	;ClipString=1
	FontFace=#FontFace#
	FontColor=#FontColor#
	FontSize=9
	AntiAlias=1
	Text="%1"
[(toggle)]
	Meter=Image
	X=6
	Y=12
	W=140
	H=12
	SolidColor=00000001
	MouseOverAction=#SHOW#
	MouseLeaveAction=#HIDE#
[(color)]
	MeasureName=FULL_S
	Meter=BITMAP
	X=140
	Y=0
	BitmapImage=color.png
	BitmapFrames=60
	BitmapZeroFrame=1
	BitmapExtend=1
[(prev)]
	Meter=Button
	X=0
	Y=0
	ButtonImage=prev.png
	ButtonCommand=!Execute [!RainmeterPluginBang "WINAMP SendMessage 273 40044 0"]
	Hidden=1
[(play)]
	Meter=Button
	X=41r
	Y=0
	ButtonImage=play.png
	ButtonCommand=!Execute [!RainmeterPluginBang "WINAMP SendMessage 273 40045 0"]
	Hidden=1
[(stop)]
	Meter=Button
	X=34r
	Y=0
	ButtonImage=stop.png
	ButtonCommand=!Execute [!RainmeterPluginBang "WINAMP SendMessage 273 40047 0"]
	Hidden=1
[(next)]
	Meter=Button
	X=36r
	Y=0
	ButtonImage=next.png
	ButtonCommand=!Execute [!RainmeterPluginBang "WINAMP SendMessage 273 40048 0"]
	Hidden=1