Code: Select all
[ColorFG1RGB]
Measure=Script
ScriptFile=#@#HEXToRGB.lua
Source=FG1
I have included the above ColorFG1RGB in my skin as below.
Code: Select all
[Variables]
Color1RGB=[ColorFG1RGB]
For "ColorFG1RGB"
Range: 0.0 - 1.0
Number: 255
String: 255,0,0
Now I have a histogram in my skin as followsFor Color1RGB
Range: (empty)
Number: (empty)
String: [ColorFG1RGB]
Code: Select all
[CPUTemp1Histogram]
Meter=Histogram
MeasureName=CPUTemp1Current
X=0R
Y=0R
W=210
H=60
PrimaryColor=#Color1RGB#
SolidColor=0,0,0,100
AntiAlias=1
Can someone please help me to identify the issue?
I believe the Color1RGB is picked up as a number instead of a string.