If I do that, I may as well use bars. I was trying to get one shape meter with all the disks in one section but trying to do it the way it already worked with bars in my older skins. They use IfConditions on each disks TotalMeasure to disable the measures and meters associated with it, other than that specific disks TotalMeasure of course. But also, JSMorley gave me some code over 10 years ago that allowed me to move the other meters up or left, whichever way it was set up.
So if there were four disks: C,D,E,F, and disk E was removed and therefore empty which disables the measures/meters for it, then instead of this: C,D, ,F,, you would get this: C,D,F,, because the IfCondition would move the meters to fill the space where disk E was.
My current shape meter code:And the IfCondition on Disk4:10 disks are referenced here and I am able to do as I stated above, disable and hide the meters, but not move their X position as I currently do with the older Bar meter version.
Tbh, I'll probably just change it back to bars as that's what worked before for me.
Hope the SpecAn's going well?![Thumbs Up :thumbup:]()
So if there were four disks: C,D,E,F, and disk E was removed and therefore empty which disables the measures/meters for it, then instead of this: C,D, ,F,, you would get this: C,D,F,, because the IfCondition would move the meters to fill the space where disk E was.
My current shape meter code:
Code:
[DiskBars]Meter=ShapeShape=Rectangle #Bar1X#, 0, #BarW1#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape2=Rectangle #Bar1X#, 0, #BarW1#, ([m1Used:]/[m1Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk1Bar#Shape3=Rectangle #Bar2X#, 0, #BarW2#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape4=Rectangle #Bar2X#, 0, #BarW2#, ([m2Used:]/[m2Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk2Bar#Shape5=Rectangle #Bar3X#, 0, #BarW3#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape6=Rectangle #Bar3X#, 0, #BarW3#, ([m3Used:]/[m3Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk3Bar#Shape7=Rectangle #Bar4X#, 0, #BarW4#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape8=Rectangle #Bar4X#, 0, #BarW4#, ([m4Used:]/[m4Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk4Bar#Shape9=Rectangle #Bar5X#, 0, #BarW5#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape10=Rectangle #Bar5X#, 0, #BarW5#, ([m5Used:]/[m5Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk5Bar#Shape11=Rectangle #Bar6X#, 0, #BarW6#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape12=Rectangle #Bar6X#, 0, #BarW6#, ([m6Used:]/[m6Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk6Bar#Shape13=Rectangle #Bar7X#, 0, #BarW7#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape14=Rectangle #Bar7X#, 0, #BarW7#, ([m7Used:]/[m7Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk7Bar#Shape15=Rectangle #Bar8X#, 0, #BarW8#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape16=Rectangle #Bar8X#, 0, #BarW8#, ([m8Used:]/[m8Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk8Bar#Shape17=Rectangle #Bar9X#, 0, #BarW9#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape18=Rectangle #Bar9X#, 0, #BarW9#, ([m9Used:]/[m9Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk9Bar#Shape19=Rectangle #Bar10X#, 0, #BarW10#, #BarH# | StrokeWidth 0 | Fill Color #White60#Shape20=Rectangle #Bar10X#, 0, #BarW10#, ([m10Used:]/[m10Total:]*#BarH#) | StrokeWidth 0 | Fill Color #Disk10Bar#DynamicVariables=1X=0Y=44
Code:
[m4Total]Measure=FreeDiskSpaceDrive=#Disk4#:Total=1IgnoreRemovable=0RegExpSubstitute=1Substitute="^(.+)$":"\1B","0\.00 B":""DynamicVariables=1OnChangeAction=[!UpdateMeasureGroup #Disk4#][!UpdateMeterGroup #Disk4#][!UpdateMeter DiskBars][!Redraw]IfCondition=(#CurrentSection#=0)IfTrueAction=[!SetVariable BarW4 "0"][!HideMeterGroup "#Disk4#"][!DisableMeasureGroup #Disk4#]IfFalseAction=[!SetVariable BarW4 "#BarW#"][!ShowMeterGroup "#Disk4#"][!EnableMeasureGroup #Disk4#]
Tbh, I'll probably just change it back to bars as that's what worked before for me.
Hope the SpecAn's going well?

Statistics: Posted by sl23 — Yesterday, 8:45 pm