[Rainmeter]
Author=Yus
AppVersion=3.0
Update=20
Background=bg.png
MouseOverAction=[!ShowMeterGroup Group1]
MouseLeaveAction=[!HideMeterGroup Group1]

;===== Measures =====
[MainMPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=AIMP
PlayerPath="C:\Program Files (x86)\AIMP3\AIMP3.exe"
PlayerType=Title
DisableLeadingZero=0
UpdateDivider=10
Substitute="":"Неизвестный исполнитель"
;IfEqualValue=1
;IfEqualAction=!Execute [!RainmeterShowMeter ErrorMessage][!RainmeterRedraw]

[MPosition]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Position

[MArtist]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Artist

[MDuration]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Duration

[MChangeButton]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=State
Substitute="0":"play.png","1":"pause.png","2":"play.png"

[MChangeRepeat]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Repeat
Substitute="0":"repeat.png","1":"repeat1.png"

[MChangeRandom]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Shuffle
Substitute="0":"random.png","1":"random1.png"

[MVolumeBar]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Volume

[MProgressBar]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MainMPlayer]
PlayerType=Progress
;---------------------------------

;===== Meters =====
[MeterPanel]
Meter=Image
ImageName=panel.png
X=0
Y=0
Group=Group1
Hidden=1

;===Buttons Meters===
[Button_Play&Pause]
Meter=Button
ButtonImage=[MChangeButton]
X=0
Y=21
LeftMouseUpAction=[!PluginBang "MainMPlayer PlayPause"]
DynamicVariables=1

[Button_Stop]
Meter=Button
ButtonImage=stop.png
X=27
Y=22
LeftMouseUpAction=[!PluginBang "MainMPlayer Stop"]

[Button_Previous]
Meter=Button
ButtonImage=previous.png
X=52
Y=21
LeftMouseUpAction=[!PluginBang "MainMPlayer Previous"]

[Button_Next]
Meter=Button
ButtonImage=next.png
X=83
Y=21
LeftMouseUpAction=[!PluginBang "MainMPlayer Next"]

[Button_Repeat]
Meter=Button
ButtonImage=[MChangeRepeat]
X=204
Y=21
LeftMouseUpAction=[!CommandMeasure "MainMPlayer" "SetRepeat -1"]
DynamicVariables=1

[Button_Random]
Meter=Button
ButtonImage=[MChangeRandom]
X=227
Y=21
LeftMouseUpAction=!Execute [!CommandMeasure "MainMPlayer" "SetShuffle -1"]
DynamicVariables=1
;---------------------------------

;===String Meters===
[cTicker1]
Measure=Calc
Formula=Counter%450+(0-150)

[TrackName]
Meter=STRING
MeasureName=MArtist
MeasureName2=MainMPlayer
MeasureName3=MDuration
X=[cTicker1]
Y=3
;W=70
;H=20
FontColor=255,255,255,200
FontFace=AGPalatial
StringStyle=Bolditalic
DynamicVariables=1
Text=%1 - %2 ( %3 )
AntiAlias=1

[nal]
Meter=Image
ImageName=nal.png
LeftMouseDoubleClickAction=[!CommandMeasure "MainMPlayer" "OpenPlayer"]

[TimePos]
Meter=STRING
MeasureName=MPosition
X=258
Y=48
FontColor=255,255,255,200
FontFace=AGPalatial
StringStyle=Bolditalic
StringAlign=Right
AntiAlias=1
Group=Group1
Hidden=1


;-------------------------------------------------------
;-------------------------------------------------------
;========VOLUME & PROGRESS SET==========
@include=#SKINSPATH#SuperBlue\Aimp_Player\VP.inc
;-------------------------------------------------------
;-------------------------------------------------------


;===Bar Meters===
[VolumeBar]
Meter=Bar
MeasureName=MVolumeBar
BarImage=volbar.png
BarOrientation=Horizontal
X=120
Y=30


[ProgerssBar]
Meter=Bar
MeasureName=MProgressBar
BarImage=ProgressBar.png
BarOrientation=Horizontal
X=8
Y=51
Group=Group1
Hidden=1
;---------------------------------

;===Volume Postion===


