I'm trying to use shape meters as Bar meters. I searched the forum but can't seem to find anything as the search ignores the word 'bar.'
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:
I think the calc is wrong, but for some reason, it won't work for disks, but works with everything else I've tried it on. What am I doing wrong?
Any advice or info would be great, thanks.
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:
[Variables]BarW=3BarH=44Disk1=C[sAllText]FontFace=Trebuchet MSStringStyle=BoldStringAlign=CenterCenterFontSize=9FontColor=#White#AntiAlias=1DynamicVariables=1X=14rY=rMeasureName=m#CurrentSection#FreeMeasureName2=m#CurrentSection#TotalMeasureName3=m#CurrentSection#LabelToolTipIcon=InfoToolTipTitle=%3:ToolTipText=%1 / %2[DiskBars]Meter=ShapeShape2=Rectangle 0, 0, #BarW#, ([m1Used]*#BarH#/100) | StrokeWidth 0 | Extend Fill2DynamicVariables=1[1]Meter=StringMeterStyle=sAllTextText=#Disk1#Group=#Disk1#X=6rY=38
Any advice or info would be great, thanks.
Statistics: Posted by sl23 — Yesterday, 6:21 pm — Replies 12 — Views 167