I have some speedfan module, and the color of the graphic "LineColor" is a light blue color. But what I want is to change this color if the fan of my PC (I have 3 of them) if the fan is speedup or slowdown. When my fan speed up, the color change to orange, and when the fan is slowdown, the color change to green.
Possible?
This is the code of my module:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
[Variables]
MaxFanSpeed=1750
Radius=60
Thickness=18
FontSize=28
FontSizeCoreText=17
FontFace=HighlandGothicFLF
CouleurLigne=134,169,255
CouleurLigneFond=134,169,255,100
TITRE=FAN 2
[MeasureMin]
Measure=Calc
Formula=0
[MeasureMax]
Measure=Calc
Formula=100
[StyleCircle]
StartAngle=-1.570796326
RotationAngle=-4.712388978
X=(#Radius#+#Gap#)r
Y=0
W=(2*#Radius#)
H=(2*#Radius#)
LineStart=#Radius#
LineLength=(#Radius#-#Thickness#)
Solid=1
AntiAlias=1
LineColor=#CouleurLigne#
[StyleFullCircle]
StartAngle=-1.570796326
RotationAngle=-4.712388978
X=0r
Y=0
W=(2*#Radius#)
H=(2*#Radius#)
LineStart=#Radius#
LineLength=(#Radius#-#Thickness#)
Solid=1
AntiAlias=1
LineColor=#CouleurLigneFond#
[StyleCPUText]
X=(#Radius#)r
Y=(#Radius#)+5
FontSize=#FontSize#
FontFace=#FontFace#
FontColor=255,255,255,255
StringAlign=CenterCenter
AntiAlias=1
NumOfDecimals=0
[StyleCOREText]
X=((#Radius#)+25)
Y=(#Radius#)-25
FontSize=#FontSizeCoreText#
FontFace=#FontFace#
FontColor=255,255,255,255
StringAlign=CenterCenter
AntiAlias=1
NumOfDecimals=0
[MeasureSpeed]
Measure=Plugin
Plugin=SpeedFanPlugin
SpeedFanType=FAN
SpeedFanNumber=2
DynamicVariables=1
[MeasurePercent]
Measure=Calc
Formula=(100*[MeasureSpeed]/#MaxFanSpeed#)
DynamicVariables=1
MinValue=0
MaxValue=100
[CPUCircle]
Meter=Roundline
MeasureName=MeasurePercent
MeterStyle=StyleCircle
X=0
LeftMouseUpAction=[!Refresh]
[CPUFullCircle]
Meter=Roundline
MeterStyle=StyleFullCircle
LeftMouseUpAction=[!Refresh]
[CPUText]
Meter=String
MeasureName=MeasurePercent
MeterStyle=StyleCPUText
AntiAlias=1
NumOfDecimals=0
Postfix="%"
[COREText]
Meter=String
MeterStyle=StyleCOREText
Text=#TITRE#