I've managed to get the code I need into my skin to suit my needs, but now I keep getting errors. Basically, it's the IfCondition causing the problem and won't hide the meters when ejecting a disc causing me to be back to square one! AARRRRGGGHHH!!!
There's also a web parser error for some reason. It has been working up til some time this evening.
I am currently in the process of merging the code you supplied so styles are a bit messy though everything is working as it should, other than what has been mentioned.
I think the best thing is to show the complete code as it stands now, I've spent the last 3 hours trying to get this to work when I found the error and can't figure out why it's happening. Ok, here it is:
Code: Select all
; TO DO:
; 1. ProgressBar - ToolTipText=SongTime
[Rainmeter]
Author=sl23
Update=1000
Background=#@#Bg-illustro.png
;Background=#@#Bg-Soita-V.png
BackgroundMode=3
BackgroundMargins=0,34,0,30
;BackgroundMargins=left,top,right,bottom
DynamicWindowSize=1
MouseOverAction=[!CommandMeasure mLua1 Pause=1] [!CommandMeasure mLua2 Pause=1] [!CommandMeasure mLua3 Pause=1] [!Redraw]
MouseLeaveAction=[!CommandMeasure mLua1 Pause,Timer=0,0] [!CommandMeasure mLua2 Pause,Timer=0,0] [!CommandMeasure mLua3 Pause,Timer=0,0] [!Redraw]
AccurateText=1
[Metadata]
Author=poiru
Name= SideBar
Description=A complete system skin using illustro as a sidebar
;[SideBar]
;WindowX=(#ScreenAreaX# + (#ScreenAreaWidth# - 210))
;WindowY=(#ScreenAreaY# + 10)
;---------------------------------------------------------------------
; STYLES
;---------------------------------------------------------------------
[style-AllText]
FontFace=Trebuchet MS
FontSize=10
FontColor=255,255,255
AntiAlias=1
ClipString=2
[style-DriveLabel]
Percentual=1
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "128,255,0"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
X=12
Y=2R
[style-DriveValue]
StringAlign=Right
FontColor=255,255,0
NumOfDecimals=1
AutoScale=1
Text="%1B"
X=196
Y=0r
[style-%]
FontFace=Trebuchet MS
FontSize=8
Text="%"
FontColor=255,255,255
AntiAlias=1
ClipString=2
[styleBar]
BarColor=235,170,0,255
BarOrientation=Horizontal
SolidColor=255,255,255,50
X=12
Y=15r
W=185
H=1
[style-RoundBar]
LineLength=30
LineStart=24
LineColor=128,255,0,70
StartAngle=-1.570796325
RotationAngle=6.2831853
Antialias=1
Solid=1
;---------------------------------------------------------------------
; TITLE
;---------------------------------------------------------------------
[Title]
Meter=String
MeterStyle=style-AllText
StringAlign=Center
StringStyle=Bold
FontFace=Corbel
FontColor=255,255,0
FontSize=14
Text="- SYSTEM -"
LeftMouseUpAction=!Execute ["taskmgr.exe"]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "128,255,0"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor "255,255,0"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
ToolTipText="Task Manager"
X=110
Y=8
[RefreshSkin]
Meter=Image
ImageName=#@#Refresh.png
LeftMouseUpAction=!Refresh "Soita+System\SideBar"
ToolTipText="Refresh"
X=10
Y=r
W=25
H=25
;---------------------------------------------------------------------
; DISK - C:/
;---------------------------------------------------------------------
[mC:Label]
Measure=FreeDiskSpace
Drive=C:
IgnoreRemovable=0
UpdateDivider=2
Label=1
[mC:Free]
Measure=FreeDiskSpace
Drive=C:
IgnoreRemovable=0
UpdateDivider=2
Substitute=".0":""
[mC:Total]
Measure=FreeDiskSpace
Drive=C:
IgnoreRemovable=0
Total=1
UpdateDivider=2
Substitute=".0":""
IfCondition=mC:Total = 0
IfTrueAction=[!HideMeterGroup "Disk-C"][!UpdateMeter *][!Redraw]
IfFalseAction=[!ShowMeterGroup "Disk-C"][!UpdateMeter *][!Redraw]
DynamicVariables=1
[C:Label]
Meter=String
MeterStyle=style-AllText | style-DriveLabel
MeasureName=mC:Free
MeasureName2=mC:Total
MeasureName3=mC:Label
Text="C:/ %1 %"
LeftMouseUpAction=!Execute ["C:\"]
ToolTipText="Open ~ #CRLF#C:/ %3#CRLF#%2B"
Group=Disk-C
Y=40
[C:Value]
Meter=String
MeterStyle=style-AllText | style-DriveValue
MeasureName=mC:Free
FontColor=0,255,255
Text="%1B"
Group=Disk-C
[mC:Used]
Measure=FreeDiskSpace
Drive=C:
IgnoreRemovable=0
Group=Disk-C
UpdateDivider=2
InvertMeasure=1
[C:Bar]
Meter=Bar
MeterStyle=styleBar
MeasureName=mC:Used
Group=Disk1
;---------------------------------------------------------------------
; DISK - D:/
;---------------------------------------------------------------------
[mD:Label]
Measure=FreeDiskSpace
Drive=D:
UpdateDivider=2
Label=1
[mD:Free]
Measure=FreeDiskSpace
Drive=D:
IgnoreRemovable=0
UpdateDivider=2
Substitute=".0":""
[mD:Total]
Measure=FreeDiskSpace
Drive=D:
IgnoreRemovable=0
Total=1
UpdateDivider=2
Substitute=".0":""
IfCondition=mD:Total = 0
IfTrueAction=[!SetOptionGroup "Disk-D" Y "0R"][!HideMeterGroup "Disk-D"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-D" Y ""][!ShowMeterGroup "Disk-D"][!UpdateMeter *][!Redraw]
DynamicVariables=1
[D:Label]
Meter=String
MeterStyle=style-AllText | style-DriveLabel
MeasureName=mD:Free
MeasureName2=mD:Total
MeasureName3=mD:Label
Text="D:/ %1 %"
LeftMouseUpAction=!Execute ["D:\"]
ToolTipText="Open ~ #CRLF#D:/ %3#CRLF#%2B"
Group=Disk-D
[D:Value]
Meter=String
MeterStyle=style-AllText | style-DriveValue
MeasureName=mD:Free
FontColor=0,255,255
Text="%1B"
Group=Disk-D
[mD:Used]
Measure=FreeDiskSpace
Drive=D:
IgnoreRemovable=0
Group=Disk-D
UpdateDivider=2
InvertMeasure=1
; 1 Returns inverted value of FreeDiskSpace (i.e. used disk space)
[D:Bar]
Meter=Bar
MeterStyle=styleBar
MeasureName=mD:Used
Group=Disk-D
;---------------------------------------------------------------------
; DISK - E:/
;---------------------------------------------------------------------
[mE:Label]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
UpdateDivider=2
Label=1
[mE:Free]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
UpdateDivider=2
Substitute=".0":""
[mE:Total]
Measure=FreeDiskSpace
Drive=E:
Total=1
IgnoreRemovable=0
UpdateDivider=2
Substitute=".0":""
IfCondition=mE:Total = 0
IfTrueAction=[!SetOptionGroup "Disk-E" Y "0R"][!HideMeterGroup "Disk-E"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-E" Y ""][!ShowMeterGroup "Disk-E"][!UpdateMeter *][!Redraw]
[E:Label]
Meter=String
MeterStyle=style-AllText | style-DriveLabel
MeasureName=mE:Free
MeasureName2=mE:Total
MeasureName3=mE:Label
Text="E:/ %1 %"
LeftMouseUpAction=!Execute ["E:\"]
ToolTipText="Open ~ #CRLF#E:/ %3#CRLF#%2B"
Group=Disk-E
;Hidden=1
[E:Value]
Meter=String
MeterStyle=style-AllText | style-DriveValue
MeasureName=mE:Free
FontColor=0,255,255
Text="%1B"
Group=Disk-E
;Hidden=1
[mE:Used]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
Group=Disk-E
UpdateDivider=2
InvertMeasure=1
;Hidden=1
[E:Bar]
Meter=Bar
MeterStyle=styleBar
MeasureName=mE:Used
Group=Disk-E
;Hidden=1
;---------------------------------------------------------------------
; DISK - F:/
;---------------------------------------------------------------------
[mF:Label]
Measure=FreeDiskSpace
Drive=F:
IgnoreRemovable=0
UpdateDivider=2
Label=1
[mF:Free]
Measure=FreeDiskSpace
Drive=F:
IgnoreRemovable=0
UpdateDivider=2
Substitute=".0":""
[mF:Total]
Measure=FreeDiskSpace
Drive=F:
Total=1
IgnoreRemovable=0
UpdateDivider=2
Substitute=".0":""
IfCondition=mF:Total = 0
IfTrueAction=[!SetOptionGroup "Disk-F" Y "0R"][!HideMeterGroup "Disk-F"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-F" Y ""][!ShowMeterGroup "Disk-F"][!UpdateMeter *][!Redraw]
DynamicVariables=1
[F:Label]
Meter=String
MeterStyle=style-AllText | style-DriveLabel
MeasureName=mF:Free
MeasureName2=mF:Total
MeasureName3=mF:Label
Text="F:/ %1 %"
LeftMouseUpAction=!Execute ["F:\"]
ToolTipText="Open ~ #CRLF#F:/ %3#CRLF#%2B"
Group=Disk-F
[F:Value]
Meter=String
MeterStyle=style-AllText | style-DriveValue
MeasureName=mF:Free
FontColor=0,255,255
Text="%1B"
Group=Disk-F
[mF:Used]
Measure=FreeDiskSpace
Drive=F:
Group=Disk-F
UpdateDivider=2
InvertMeasure=1
; 1 Returns inverted value of FreeDiskSpace (i.e. used disk space)
[F:Bar]
Meter=Bar
MeterStyle=styleBar
MeasureName=mF:Used
Group=Disk-F
;---------------------------------------------------------------------
; CPU
;---------------------------------------------------------------------
[mCPU]
Measure=CPU
Processor=0
[CPU-Label]
Meter=String
MeterStyle=style-AllText
Text="CPU"
X=12
Y=140
[CPU-Value]
Meter=String
MeterStyle=style-AllText
StringAlign=Right
MeasureName=mCPU
Text="%1"
X=89r
Y=0r
[CPU-Bar]
Meter=Bar
MeterStyle=styleBar
MeasureName=mCPU
X=-90r
Y=15r
W=100
[CPU-%-Label]
Meter=String
MeterStyle=style-%
X=92r
Y=-12r
;---------------------------------------------------------------------
; RAM
;---------------------------------------------------------------------
[mRAM-Total]
Measure=PhysicalMemory
Total=1
UpdateDivider=5
[mRAM-Free]
Measure=PhysicalMemory
UpdateDivider=5
[RAM-Label]
Meter=String
MeterStyle=style-AllText
MeasureName=mRAM-Total
Text="RAM"
ToolTipText="Total RAM ~ #CRLF# %1B"
AutoScale=1
Substitute=".0":""
X=-91r
Y=17r
[RAM-Value]
Meter=String
MeterStyle=style-AllText
StringAlign=Right
MeasureName=mRAM-Free
Text="%1"
Percentual=1
X=89r
Y=0r
[RAM-Bar]
Meter=Bar
MeterStyle=styleBar
MeasureName=mRAM-Free
X=-90r
Y=15r
W=100
[RAM-%-Label]
Meter=String
MeterStyle=style-%
X=92r
Y=-12r
;---------------------------------------------------------------------
; POWER
;---------------------------------------------------------------------
[mPower]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Percent
[Power-1-Round]
Meter=RoundLine
MeasureName=mPower
MeterStyle=style-RoundBar
X=160
Y=160
[Power-2-Round]
Meter=RoundLine
MeasureName=mPower
MeterStyle=style-RoundBar
LineLength=28
LineStart=26
LineColor=128,255,0
X=r
Y=r
[mAc]
Measure=Plugin
Plugin=PowerPlugin
PowerState=ACLINE
IfAboveValue=0
IfAboveAction=[!SetOption AcImage ImageTint 255,255,255,255]
IfBelowValue=1
IfBelowAction=[!SetOption AcImage ImageTint 0,0,0,0]
[AcImage]
Meter=Image
ImageName=#@#AC.png
ImageTint=0,0,0,255
X=-11r
Y=-20r
W=20
H=20
[mBattery]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Percent
[Battery-Value]
Meter=String
MeasureName=mBattery
MeterStyle=style-AllText
StringAlign=Center
FontSize=12
FontColor=0,255,255
Text=%1 %
X=11r
Y=20r
;---------------------------------------------------------------------
; IP + UP + DOWN
;---------------------------------------------------------------------
[mIP]
Measure=Plugin
Plugin=WebParser.dll
Url=http://checkip.dyndns.org
UpdateRate=14400
RegExp="(?siU)Address: (.*)</body>"
StringIndex=1
Substitute="":"N/A"
[IP-Label]
Meter=String
MeterStyle=style-AllText
Text="IP address"
X=12
Y=200
[IP-Value]
Meter=String
MeasureName=mIP
MeterStyle=style-AllText
StringAlign=Right
Text="%1"
X=184r
Y=0r
;--------------------------------------- UPLOAD
[mUpload]
Measure=NetOut
NetOutSpeed=#maxUpload#
Substitute=".00":""
[Upload-Label]
Meter=String
MeterStyle=style-AllText
Text="U:"
X=12
Y=235
[Upload-Value]
Meter=String
MeterStyle=style-AllText
StringAlign=Right
MeasureName=mUpload
NumOfDecimals=2
AutoScale=1
X=90r
Y=0r
[Upload-Bar]
Meter=Bar
MeterStyle=styleBar
AutoScale=1
X=-90r
Y=15r
W=90
;--------------------------------------- DOWNLOAD
[mDownload]
Measure=NetIn
MaxValue=#maxDownload#
Substitute=".00":""
[Download-Label]
Meter=String
MeterStyle=style-AllText
Text="D:"
X=r
Y=5r
[Download-Value]
Meter=String
MeterStyle=style-AllText
StringAlign=Right
MeasureName=mDownload
NumOfDecimals=2
AutoScale=1
X=90r
Y=0r
[Download-Bar]
Meter=Bar
MeterStyle=styleBar
AutoScale=1
X=-90r
Y=15r
W=90
;---------------------------------------------------------------------
; SHUTDOWN
;---------------------------------------------------------------------
[Background-ShutW]
Meter=Image
MeterStyle=styleBar
MouseOverAction=[!HideMeterGroup Date] [!UpdateMeterGroup Date] [!ShowMeterGroup Shut] [!UpdateMeterGroup ShowL] [!Redraw]
MouseLeaveAction=[!ShowMeterGroup Date] [!UpdateMeterGroup Date] [!HideMeterGroup Shut] [!UpdateMeterGroup Shut] [!Redraw]
X=12
Y=293
H=40
[Background-ShutB]
Meter=Image
MeterStyle=styleBar
SolidColor=0,0,0,120
X=1r
Y=1r
W=183
H=38
[Background-ShutR]
Hidden=1
Group=Shut
Meter=Image
MeterStyle=styleBar
SolidColor=255,0,0,100
X=2r
Y=2r
W=179
H=34
[Launcher1-Shutdown]
Meter=Image
ImageName=#@#Launchers\Shutdown.ico
LeftMouseUpAction=C:\Windows\System32\shutdown.exe -s -t 00 -f
ToolTipText="Shutdown"
Hidden=1
Group=Shut
X=6r
Y=6r
W=24
H=24
[Launcher2-Restart]
Meter=Image
ImageName=#@#Launchers\Restart.ico
LeftMouseUpAction=C:\Windows\System32\shutdown.exe -r -t 0
ToolTipText="Restart"
Hidden=1
Group=Shut
X=48r
Y=0r
W=24
H=24
[Launcher3-Sleep]
Meter=Image
ImageName=#@#Launchers\Sleep.ico
LeftMouseUpAction=C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState
ToolTipText="Sleep"
Hidden=1
Group=Shut
X=48r
Y=0r
W=24
H=24
[Launcher4-Lock]
Meter=Image
ImageName=#@#Launchers\Lock.ico
LeftMouseUpAction=C:\Windows\System32\rundll32.exe user32.dll, LockWorkStation
ToolTipText="Lock"
Hidden=1
Group=Shut
X=48r
Y=0r
W=24
H=24
;---------------------------------------------------------------------
; TIME + DATE
;---------------------------------------------------------------------
[mSecond]
Measure=Time
Format=%S
; See here for other formats - http://docs.rainmeter.net/manual/measures/time
MinValue=0
MaxValue=60
[Second-1-Round]
Meter=RoundLine
MeasureName=mSecond
MeterStyle=style-RoundBar
X=160
Y=255
[Second-2-Round]
Meter=RoundLine
MeasureName=mSecond
MeterStyle=style-RoundBar
LineLength=28
LineStart=26
LineColor=128,255,0,255
X=r
Y=r
;--------------------------------------- TIME
[mTime]
Measure=Time
Format=%#I:%M
[Time]
Meter=String
MeasureName=mTime
MeterStyle=style-AllText
StringAlign=Center
FontSize=12
FontColor=0,255,255
Text="%1"
X=-1r
Y=-9r
;--------------------------------------- DATE
[mDate]
Measure=Time
Format=%a - %#d %b
[Date]
Meter=String
MeasureName=mDate
MeterStyle=style-AllText
StringAlign=Center
FontFace=Corbel
FontSize=21
FontColor=255,255,0
Group=Date
Text="%1"
X=105
Y=295
;---------------------------------------------------------------------
; RECYCLE BIN
;---------------------------------------------------------------------
[Bin]
Meter=Image
ImageName=#@#Launchers\Bin Empty (orange)
LeftMouseUpAction=!Execute [!PluginBang "mBin-Items OpenBin"]
RightMouseUpAction=!Execute [!PluginBang "mBin-Items EmptyBin"]
ToolTipText="L-click = Open#CRLF#R-click = Empty"
; The #CRLF# variable creates a new line.
X=25
Y=340
W=34
H=34
[mBin-Items]
Measure=Plugin
Plugin=RecycleManager.dll
RecycleType=Count
UpdateDivider=2
Substitute=".0":" items" , "0 items":"Empty"
[mBin-Size]
Measure=Plugin
Plugin=RecycleManager.dll
RecycleType=Size
UpdateDivider=2
Substitute=".0":""
[Bin-Items]
Meter=String
MeasureName=mBin-Items
MeasureName2=mBin-Size
MeterStyle=style-AllText
StringAlign=Right
Text="%1#CRLF#%2B"
AutoScale=1
X=160r
Y=0r
;---------------------------------------------------------------------
; FOOBAR
;---------------------------------------------------------------------
[mPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=CAD
PlayerType=Title
DisableLeadingZero=1
;------------------------------------------------------------ PROGRESS
[mPosition]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=Position
RegExpSubstitute=1
Substitute="^0+:00":""
;Substitute="00:00":"0"
[mDuration]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=Duration
RegExpSubstitute=1
Substitute="^(.*)$":" / \1","0+:00":"Stopped"," / Stopped":"Stopped"
;Substitute="00:00":"Stopped"
[SongTime]
Meter=String
MeterStyle=style-AllText
FontColor=0,255,255
MeasureName=mPosition
MeasureName2=mDuration
Text="%1%2"
X=12
Y=380
[mProgress]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=PROGRESS
[ProgressBar1]
Meter=Bar
MeasureName=mProgress
MeterStyle=styleBar
BarColor=235,170,0,0
SolidColor=50,50,50,70
LeftMouseUpAction=[!CommandMeasure "mPlayer" "SetPosition $MouseX:%$"]
X=r
Y=15r
H=4
[ProgressBar2]
Meter=Bar
MeasureName=mProgress
MeterStyle=styleBar
LeftMouseUpAction=[!CommandMeasure "mPlayer" "SetPosition $MouseX:%$"]
X=r
Y=1r
H=2
[Progress]
Meter=String
MeasureName=mProgress
MeterStyle=style-AllText
StringAlign=Right
FontColor=0,255,255
Text="%1 %"
X=185r
Y=-16r
;----------------------------------------------------------- TRACK INFO
[mMedia1]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=Artist
[mLua1]
Measure=Script
ScriptFile=#@#Marquee.lua
Width=28
MeasureName=mMedia1
Position=Left
[Artist1]
Meter=String
MeasureName=mLua1
MeterStyle=style-AllText
StringAlign=Center
FontColor=0,255,255
X=104
Y=405
H=20
;===================
[mMedia2]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=Title
[mLua2]
Measure=Script
ScriptFile=#@#Marquee.lua
Width=21
MeasureName=mMedia2
Position=Left
[Track2]
Meter=String
MeasureName=mLua2
MeterStyle=style-AllText
StringAlign=Center
FontColor=128,255,0
FontSize=13
X=r
Y=20r
H=22
;===================
[mMedia3]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=Album
[mLua3]
Measure=Script
ScriptFile=#@#Marquee.lua
Width=28
MeasureName=mMedia3
Position=Left
[Album3]
Meter=String
MeasureName=mLua3
MeterStyle=style-AllText
StringAlign=Center
FontColor=0,255,255
X=r
Y=24r
H=18
;----------------------------------------------------------- COVER
[mCover]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=Cover
Substitute="":"#@#Player\Default.png"
[BackgroundCoverW]
Meter=Image
MeterStyle=styleBar
MouseOverAction=[!HideMeterGroup Cover] [!UpdateMeterGroup Cover] [!ShowMeterGroup Player] [!UpdateMeterGroup Player] [!Redraw]
MouseLeaveAction=[!ShowMeterGroup Cover] [!UpdateMeterGroup Cover] [!HideMeterGroup Player] [!UpdateMeterGroup Player] [!Redraw]
X=39
Y=470
W=131
H=131
[BackgroundCoverB]
Meter=Image
MeterStyle=styleBar
SolidColor=0,0,0,150
X=1r
Y=1r
W=129
H=129
[Cover]
Meter=Image
MeasureName=mCover
SolidColor=255,255,255
Hidden=0
Group=Cover
X=2r
Y=2r
W=125
H=125
;--------------------------------------------------------- OPEN - CLOSE
[OpenPlayer]
Meter=Button
ButtonImage=#@#Player\Open.png
ToolTipText="Open Foobar"
LeftMouseUpAction=\MyApps\PortableApps\foobar2000\foobar2000.exe
Group=Player
Hidden=1
X=3r
Y=28r
[ClosePlayer]
Meter=Button
ButtonImage=#@#Player\Close.png
ToolTipText="Close player"
LeftMouseUpAction=[!CommandMeasure mPlayer "ClosePlayer"]
Group=Player
Hidden=1
X=103r
Y=r
;-------------------------------------------------------------- VOLUME
[mVolume]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=VOLUME
[Volume]
Meter=Image
ImageName=#@#Player\Volume.png
Group=Player
Hidden=1
X=-72r
Y=1r
[VolumeText]
Meter=String
MeasureName=mVolume
MeterStyle=style-AllText
StringAlign=Center
Text="%1 %"
Group=Player
Hidden=1
X=27r
Y=-2r
[VolumeUp]
Meter=Button
ButtonImage=#@#Player\VolumeUp.png
LeftMouseUpAction=[!CommandMeasure mPlayer "SetVolume +25"]
Group=Player
Hidden=1
X=18r
Y=-1r
[VolumeDown]
Meter=Button
ButtonImage=#@#Player\VolumeDown.png
LeftMouseUpAction=[!CommandMeasure mPlayer "SetVolume -25"]
Group=Player
Hidden=1
X=0r
Y=10r
;------------------------------------------------------------ CONTROLS
[mStateButton]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=STATE
Substitute="0":"#@#Player\Play.png","1":"#@#Player\Pause.png","2":"#@#Player\Play.png"
[Previous]
Meter=Button
ButtonImage=#@#Player\Previous.png
LeftMouseUpAction=[!CommandMeasure mPlayer "Previous"]
Group=Player
Hidden=1
X=45
Y=555
[Play]
Meter=Button
ButtonImage=[mStateButton]
LeftMouseUpAction=[!CommandMeasure mPlayer "PlayPause"]
DynamicVariables=1
Group=Player
Hidden=1
X=34r
Y=1r
[Next]
Meter=Button
ButtonImage=#@#Player\Next.png
LeftMouseUpAction=[!CommandMeasure mPlayer "Next"]
Group=Player
Hidden=1
X=34r
Y=r
[Stop]
Meter=Button
ButtonImage=#@#Player\Stop.png
LeftMouseUpAction=[!CommandMeasure mPlayer "Stop"]
Group=Player
Hidden=1
X=35r
Y=-1r
Oh, and I used the smallest illustro skin as the background, renamed it Bg-illustro and put it in the Resources folder.
Thanks
EDIT:
One other thing, I have tried renaming all occurrences of the MeasureName [mC:Total] but it had no effect. The error just changed to suit whatever name I applied.