also, using the power function to turn itunes off just turns it back on again.
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,1
DynamicWindowSize=1
[Variables]
color1=26,116,16,200
[MeasureVol]
Measure=Plugin
Plugin=Win7AudioPlugin.dll
[MeasureArtist]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtist
[MeasureTrack]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackName
[MeasurePlayPause]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=PlayPause
[MeasurePreviousTrack]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=BackTrack
[MeasureShow]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Power
[MeasureQuit]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Quit
[MeterArtist]
Meter=STRING
MeasureName=MeasureArtist
X=5
Y=25
H=25
FontColor=#color1#
StringStyle=Bold
StringEffect=Border
FonteffectColor=255,0,0,80
FontFace=Segoe
FontSize=14
ClipString=1
Antialias=1
DynamicWindowSize=1
[MeterTrack]
Meter=STRING
MeasureName=MeasureTrack
X=R
Y=25
W=200
H=25
FontColor=#color1#
StringStyle=Bold
StringEffect=Border
FonteffectColor=255,0,0,80
FontFace=Segoe
FontSize=14
ClipString=1
Antialias=1
[MeterPower]
Meter=STRING
MeasureName=MeasureShow
X=-2
Y=5
W=50
H=25
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=14
Text="ON"
LeftMouseUpAction=!Execute [!CommandMeasure "MeasureShow" ""]
AntiAlias=1
[Meteroff]
Meter=STRING
MeasureName=MeasureQuit
X=35
Y=5
W=50
H=25
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=14
Text="OFF"
LeftMouseUpAction=!Execute [!CommandMeasure "MeasureQuit" ""]
AntiAlias=1
[MeterPlayPause]
Meter=STRING
MeasureName=MeasureTrack
X=110
Y=-2
W=80
H=18
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=25
Text="►"
LeftMouseUpAction=!Execute [!CommandMeasure "MeasurePlayPause" ""]
AntiAlias=1
[MeterPreviousTrack]
Meter=STRING
MeasureName=MeasureTrack
X=80
Y=-2
H=20
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=20
Text="«"
LeftMouseUpAction=!Execute [!CommandMeasure "MeasurePreviousTrack" ""]
AntiAlias=1
[MeterNextTrack]
Meter=STRING
MeasureName=MeasureTrack
X=35R
Y=-2
W=20
H=20
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=20
Text="»"
LeftMouseUpAction=!Execute [!CommandMeasure "MeasureTrack" "NextTrack"]
Antialias=1
[MeterVolUp]
Meter=String
MeasureName=MeasureVol
X=200
Y=r
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=14
Text="+"
LeftMouseDownAction=!CommandMeasure "MeasureWin7Audio" "ChangeVolume 5"
Antialias=1
[MeterVolDwn]
Meter=String
MeasureName=MeasureVol
X=180
Y=r
FontColor=#color1#
StringStyle=Bold
FontFace=Segoe
FontSize=14
Text="-"
LeftMouseDownAction=!CommandMeasure "MeasureWin7Audio" "ChangeVolume -5"
Antialias=1