Code: Select all
[MeasureRAM]
Measure=PhysicalMemory
[Show]
Meter=Image
H=16
Y=10R
W=[MeasureRAM]
Percentual=1
DynamicVariables=1
SolidColor=255,255,255
Code: Select all
[MeasureRAM]
Measure=PhysicalMemory
[Show]
Meter=Image
H=16
Y=10R
W=[MeasureRAM]
Percentual=1
DynamicVariables=1
SolidColor=255,255,255
Code: Select all
[Show]
Meter=BAR
MeasureName=MeasureRAM
H=16
W=100
Y=10R
BarOrientation=Horizontal
BarColor=255,255,255
cemmy wrote:I know it's simple with Bar, but that's not what I'm looking for.
Code: Select all
[MeasureRAM]
Measure=PhysicalMemory
[MeasureTotalRAM]
Measure=PhysicalMemory
Total=1
[PercentRAM]
Measure=Calc
Formula=FLOOR((MeasureRAM/MeasureTotalRAM)*100)
[Show]
Meter=Image
H=16
Y=10R
W=[PercentRAM]
DynamicVariables=1
SolidColor=255,255,255
Code: Select all
[Bar]
Meter=Bar
MeasureName=MeasureRAM
W=100
H=16
Y=10R
BarColor=255,255,255
BarOrientation=HORIZONTAL
Oops :Embarrassed: Already booked an appointment with an optician..cemmy wrote:Uhm...
Thank you, that worked perfectly. The reason why I didn't want to use Bar is because I wanted the tip of the line rounded. I'm doing that by making a solid Roundline's X position follow the actual value, and that was impossible using Bar because whatever is filling the Bar's measurement value, it's not proportional to X. I hope that made sense. Here's what my desktop looks like now. I got the idea from Kenz0's Linear Clock.Alex2539 wrote:Code: Select all
[MeasureRAM] Measure=PhysicalMemory [MeasureTotalRAM] Measure=PhysicalMemory Total=1 [PercentRAM] Measure=Calc Formula=FLOOR((MeasureRAM/MeasureTotalRAM)*100) [Show] Meter=Image H=16 Y=10R W=[PercentRAM] DynamicVariables=1 SolidColor=255,255,255
Best of luck with that.poiru wrote:Oops :Embarrassed: Already booked an appointment with an optician..
It makes sense. Although there are two ways you caould have still used a Bar meter. The first would use the extra measures again to get the value as a percentage which the Roundline meter would use as its X (plus whatever offset might be necessary).cemmy wrote: The reason why I didn't want to use Bar is because I wanted the tip of the line rounded. I'm doing that by making a solid Roundline's X position follow the actual value, and that was impossible using Bar because whatever is filling the Bar's measurement value, it's not proportional to X. I hope that made sense.