To clarify, I want the skin to change the image according to a temperature from 0 to 100 degrees being state0.png = 0 degrees and state15.png =100 degrees.
The gauge will have the actual temperature at the center and the meter will be increasing at the same time.
I couldn't even make the text to change, I tried using the hwinfo tutorial but no luck either
If someone could point me to the right direction I would extremely appreciate, I'm super new to coding.
Thank you.
Edit:
Here's the code I have so far:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[Metadata]
Name=
Author=
Information=
Version=
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
[Variables]
CPUNameIndex=0
CPU0SpeedIndex=1
CPUUsageIndex=0
CPUTempIndex=5
CPUFanIndex=7
GPUNameIndex=9
GPUTempIndex=9
GPUFanIndex=10
[MeasureGPUTempValue]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=SOFTWARE\HWiNFO64\VSB
RegValue=Value#GPUTempIndex#
fontName=HelveticaNeueLT Std
textSize=20
colorBar=235,170,0,0
colorText=255,255,255,
[styleTitle]
StringAlign=Center
StringCase=Upper
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,
FontColor=#colorText#
FontFace=#fontName#
FontSize=40
AntiAlias=1
[MeterGauge0]
Meter=Image
ImageName=#@#Images\states\0.png
W=340
H=340
X=0
Y=0
[MeterGauge1]
Meter=Image
ImageName=#@#Images\states\1.png
W=340
H=340
X=0
Y=0
[MeterGauge2]
Meter=Image
ImageName=#@#Images\states\2.png
W=340
H=340
X=0
Y=0
[MeterGauge3]
Meter=Image
ImageName=#@#Images\states\3.png
W=340
H=340
X=0
Y=0
[MeterGauge4]
Meter=Image
ImageName=#@#Images\states\4.png
W=340
H=340
X=0
Y=0
[MeterGauge5]
Meter=Image
ImageName=#@#Images\states\5.png
W=340
H=340
X=0
Y=0
[MeterGauge6]
Meter=Image
ImageName=#@#Images\states\6.png
W=340
H=340
X=0
Y=0
[MeterGauge7]
Meter=Image
ImageName=#@#Images\states\7.png
W=340
H=340
X=0
Y=0
[MeterGauge8]
Meter=Image
ImageName=#@#Images\states\8.png
W=340
H=340
X=0
Y=0
[MeterGauge9]
Meter=Image
ImageName=#@#Images\states\9.png
W=340
H=340
X=0
Y=0
[MeterGauge10]
Meter=Image
ImageName=#@#Images\states\10.png
W=340
H=340
X=0
Y=0
[MeterGauge11]
Meter=Image
ImageName=#@#Images\states\11.png
W=340
H=340
X=0
Y=0
[MeterGauge12]
Meter=Image
ImageName=#@#Images\states\12.png
W=340
H=340
X=0
Y=0
[MeterGauge13]
Meter=Image
ImageName=#@#Images\states\13.png
W=340
H=340
X=0
Y=0
[MeterGauge14]
Meter=Image
ImageName=#@#Images\states\14.png
W=340
H=340
X=0
Y=0
[MeterGauge15]
Meter=Image
ImageName=#@#Images\states\15.png
W=340
H=340
X=0
Y=0
[MeterGpuTemp]
Meter=String
MeterStyle=styleTitle
MeasureName=MeasureGPUTemp
X=168
Y=135
AnchorX=50%
AnchorY=50%
Text=%1
DynamicVariables=1
[meterTitle1]
Meter=String
MeterStyle=styleTitle
X=170
Y=237
AnchorX=50%
AnchorY=50%
Text=GPU
FontSize=25
Edit2:
So I ended up rewriting it and now it measures the temp, but I still don't have any idea of how to make the images change lol
The code looks like this now
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
[Metadata]
Name=
Author=
Information=
Version=
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
[Variables]
GPUTempIndex=9
[StyleText]
StringAlign=Center
StringCase=Upper
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,
AntiAlias=1
[MeasureGPUTempValueRaw]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=SOFTWARE\HWINFO64\VSB
RegValue=ValueRaw#GPUTempIndex#
[MeterString]
Meter=String
[MeterGauge0]
Meter=Image
ImageName=#@#Images\states\0.png
W=340
H=340
X=0
Y=0
[MeterGauge1]
Meter=Image
ImageName=#@#Images\states\1.png
W=340
H=340
X=0
Y=0
[MeterGauge2]
Meter=Image
ImageName=#@#Images\states\2.png
W=340
H=340
X=0
Y=0
[MeterGauge3]
Meter=Image
ImageName=#@#Images\states\3.png
W=340
H=340
X=0
Y=0
[MeterGauge4]
Meter=Image
ImageName=#@#Images\states\4.png
W=340
H=340
X=0
Y=0
[MeterGauge5]
Meter=Image
ImageName=#@#Images\states\5.png
W=340
H=340
X=0
Y=0
[MeterGauge6]
Meter=Image
ImageName=#@#Images\states\6.png
W=340
H=340
X=0
Y=0
[MeterGauge7]
Meter=Image
ImageName=#@#Images\states\7.png
W=340
H=340
X=0
Y=0
[MeterGauge8]
Meter=Image
ImageName=#@#Images\states\8.png
W=340
H=340
X=0
Y=0
[MeterGauge9]
Meter=Image
ImageName=#@#Images\states\9.png
W=340
H=340
X=0
Y=0
[MeterGauge10]
Meter=Image
ImageName=#@#Images\states\10.png
W=340
H=340
X=0
Y=0
[MeterGauge11]
Meter=Image
ImageName=#@#Images\states\11.png
W=340
H=340
X=0
Y=0
[MeterGauge12]
Meter=Image
ImageName=#@#Images\states\12.png
W=340
H=340
X=0
Y=0
[MeterGauge13]
Meter=Image
ImageName=#@#Images\states\13.png
W=340
H=340
X=0
Y=0
[MeterGauge14]
Meter=Image
ImageName=#@#Images\states\14.png
W=340
H=340
X=0
Y=0
[MeterGauge15]
Meter=Image
ImageName=#@#Images\states\15.png
W=340
H=340
X=0
Y=0
[MeterText]
Meter=String
MeterStyle=StyleText
x=170
y=140
MeasureName=MeasureGPUTempValueRaw
Text=%1
FontSize=40
FontColor=255,255,255
fontName=HelveticaNeueLT Std
[MeterTextGpu]
Meter=String
MeterStyle=StyleText
x=170
y=240
Text=GPU
FontSize=28
FontColor=255,255,255
fontName=HelveticaNeueLT Std