I've managed to get this working in many other skins using similar methods to this. but getting it to work with disks is proving to be a pita.
Not even the ToolTip wants to work! I can get tooltips working perfectly on the actual drive letter meter [1] in this case. But I was trying to get it working generically for all drives on the Shape meter. Though I think maybe this isn't possible? But it works as is so that I'm happy with.
Sort of unrelated, I am also struggling with nested variables. I don't know how these work, what the proper syntax is to use them so am stumbling around trying a million variations. I've looked at the manual, but there isn't much info on these, unless I missed a page?
I assume a nested variable is something like this: #Disk#CurrentSection##? But I'm stumped as to what the correct way to do it is and why. I remember death.crafter trying to help with this before, but don't know how to 'merge' two variables. I'm trying to get #CurrentSection# to replace the 1 in #Disk1#.
I made a note of this from that post:
But can't find it now and not sure he explained the reasons, or how or why to use nested variables.Do not make a habit of using [##CURRENTSECTION#].
Use [#[#CURRENTSECTION]] instead.
Code: Select all
[Variables]
BarW=3
BarH=44
Disk1=C
[sAllText]
FontFace=Trebuchet MS
StringStyle=Bold
StringAlign=CenterCenter
FontSize=9
FontColor=#White#
AntiAlias=1
DynamicVariables=1
X=14r
Y=r
MeasureName=m#CurrentSection#Free
MeasureName2=m#CurrentSection#Total
MeasureName3=m#CurrentSection#Label
ToolTipIcon=Info
ToolTipTitle=%3:
ToolTipText=%1 / %2
[DiskBars]
Meter=Shape
Shape2=Rectangle 0, 0, #BarW#, ([m1Used]*#BarH#/100) | StrokeWidth 0 | Extend Fill2
DynamicVariables=1
[1]
Meter=String
MeterStyle=sAllText
Text=#Disk1#
Group=#Disk1#
X=6r
Y=38
Any advice or info would be great, thanks.
![Thumbs Up :thumbup:](./images/smilies/ay.gif)