Rainmeter Bars Problem

Permalänk
Medlem

Rainmeter Bars Problem

Installerade Rainmeter för första gången igår kväll, och har nu suttit ett tag och fixat en "gadget" för Core Temp i den. Så här ser det ut:

Problemet är min bar. Just nu blir den full när den når ~76 grader, men jag vill ha så att den blir full vid TjMax (90º i mitt fall), och halvfull vid 45º.
Är nybörjare, så postar koden här. Skulle uppskatta hjälp:

; Lines starting ; (semicolons) are commented out. ; That is, they do not affect the code and are here for demonstration purposes only. ; ---------------------------------- [Rainmeter] ; This section contains general settings that can be used to change how Rainmeter behaves. AppVersion=2000000 Update=1000 [Metadata] ; Contains basic information of the skin. Description=Displays information about the processor. License=Creative Commons BY-NC-SA 3.0 Version=1.0.0 [Variables] ; Variables declared here can be used later on between two # characters (e.g. #MyVariable#). fontName=Trebuchet MS textSize=8 colorBar=235,170,0,255 colorText=255,255,255,205 ; ---------------------------------- ; MEASURES return some kind of value ; ---------------------------------- [measureMaxTemp] Measure=Plugin Plugin=CoreTemp CoreTempType=TjMax [measureCore1Temp] Measure=Plugin Plugin=CoreTemp CoreTempType=Temperature CoreTempIndex=0 [measureCore2Temp] Measure=Plugin Plugin=CoreTemp CoreTempType=Temperature CoreTempIndex=1 [measureCpuSpeed] Measure=Plugin Plugin=CoreTemp CoreTempType=CpuSpeed [measureBusSpeed] Measure=Plugin Plugin=CoreTemp CoreTempType=BusSpeed UpdateRate=3600 [measureMultiplier] Measure=Plugin Plugin=CoreTemp CoreTempType=BusMultiplier ; ---------------------------------- ; STYLES are used to "centralize" options ; ---------------------------------- [styleTitle] StringAlign=CENTER StringCase=UPPER StringStyle=BOLD StringEffect=SHADOW FontEffectColor=0,0,0,50 FontColor=#colorText# FontFace=#fontName# FontSize=10 AntiAlias=1 ClipString=1 [styleLeftText] StringAlign=LEFT ; Meters using styleLeftText will be left-aligned. StringCase=NONE StringStyle=BOLD StringEffect=SHADOW FontEffectColor=0,0,0,20 FontColor=#colorText# FontFace=#fontName# FontSize=#textSize# AntiAlias=1 ClipString=1 [styleRightText] StringAlign=RIGHT StringCase=NONE StringStyle=BOLD StringEffect=SHADOW FontEffectColor=0,0,0,20 FontColor=#colorText# FontFace=#fontName# FontSize=#textSize# AntiAlias=1 ClipString=1 [styleBar] BarColor=#colorBar# BarOrientation=HORIZONTAL SolidColor=255,255,255,15 [styleSeparator] SolidColor=255,255,255,15 ; ---------------------------------- ; METERS display images, text, bars, etc. ; ---------------------------------- [meterBackground] Meter=IMAGE ImageName=#SKINSPATH#\illustro\SHARED\Background3Line.png ; #SKINSPATH# is a global variable that stands for your skin path. It is ; usually Documents\Rainmeter\Skins. X=0 Y=0 [meterTitle] Meter=STRING MeterStyle=styleTitle ; Using MeterStyle=styleTitle will basically "copy" the ; contents of the [styleTitle] section here during runtime. X=100 Y=12 W=190 H=18 Text="Core Temp" [meterLabelMaxTemp] Meter=STRING MeterStyle=styleLeftText X=10 Y=40 W=190 H=14 Text="Max Temp:" [meterValueMaxTemp] Meter=STRING MeterStyle=StyleRightText MeasureName=measureMaxTemp X=200 Y=0r ; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels ; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU). W=190 H=14 Text="%1" [meterSeparatorMaxTemp] Meter=IMAGE MeterStyle=styleSeparator X=10 Y=52 W=190 H=1 [meterLabelCore1Temp] Meter=STRING MeterStyle=styleLeftText X=10 Y=60 W=190 H=14 Text="Core 1 Temp:" [meterValueCore1Temp] Meter=STRING MeterStyle=styleRightText MeasureName=measureCore1Temp X=200 Y=0r W=190 H=14 Text="%1°C" [meterBarCore1Temp] Meter=BAR MeterStyle=styleBar MeasureName=measureCore1Temp X=10 Y=72 W=190 H=1 [meterLabelCore2Temp] Meter=STRING MeterStyle=styleLeftText X=10 Y=80 W=190 H=14 Text="Core 2 Temp:" [meterValueCore2Temp] Meter=STRING MeterStyle=styleRightText MeasureName=measureCore2Temp X=200 Y=0r W=190 H=14 Text="%1°C" [meterBarCore2Temp] Meter=BAR MeterStyle=styleBar MeasureName=measureCore2Temp X=10 Y=92 W=190 H=1 ; Uncomment the following lines to show clock ;[meterLabelClock] ;Meter=STRING ;MeterStyle=styleLeftText ;X=10 ;Y=100 ;W=190 ;H=14 ;Text="Clock:" ;[meterValueClock] ;Meter=STRING ;MeterStyle=StyleRightText ;MeasureName=measureCpuSpeed ;MeasureName2=measureBusSpeed ;MeasureName3=measureMultiplier ;X=200 ;Y=0r ;W=190 ;H=14 ;Text="%1 MHz (%2 x %3)" ;[meterSeparatorClock] ;Meter=IMAGE ;MeterStyle=styleSeparator ;X=10 ;Y=112 ;W=190 ;H=1

EDIT: Lösningen var att lägga till MinValue och MaxValue i Measure, ifall nån skulle ha samma problem