Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1572

Help: Rainmeter Skins • Re: Change Color (Gradient) based on value

$
0
0
Try to add the following FontColor option to the [meterValueCPU] meter: FontColor=(Clamp((5.1*[MeasureCPU]),0,255)),(Clamp((255-(2.55*[MeasureCPU])),0,255)),0. Along with this FontColor, you have to add as well a DynamicVariables=1 option to the same [meterValueCPU] meter. Don't forget nor this.
Hi,

why does this work for the CPU and GPU but not for the RAM? :(


Thanks for Help... ;-)

Code:

; ----------------------------------; RAM USE ; ----------------------------------[MeasurePhysMemUsed]Measure=PhysicalMemoryUpdateDivider=2DynamicVariables=1[MeterRAM]Meter=STRINGMeasureName=MeasurePhysMemUsedX=32Y=31rW=56H=56FontColor=(Clamp((2.55*[MeasurePhysMemUsed]),0,255)),(Clamp((255-(2.55*[MeasurePhysMemUsed])),0,255)),0FontWeight=#Default_FontWeight#StringEffect=#Default_StringEffect#StringAlign=#Default_StringAlign#Fontsize=#Default_Fontsize#Fontface=#Default_Fontface#Scale=1073741824

Statistics: Posted by HUNTwerker — 54 minutes ago



Viewing all articles
Browse latest Browse all 1572

Trending Articles