Code: Select all

```
[Rainmeter]
Update=-1
AccurateText=1
DynamicWindowSize=1
;========================================
[Metadata]
Author=Agios
Information=Opens Notepad
Version=1.2
;========================================
[Variables]
GlowColor=225,225,225,225
Thickness=8
Start=0
;========================================
[MeasureRainbow]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Go,100,10
Go=[!UpdateMeasureGroup "Offset"][!UpdateMeter "MeterBackground"][!Redraw]
DynamicVariables=1
;========================================
[MeasureStartRed]
Measure=Calc
Formula=Random
LowBound=0
HighBound=255
UpdateDivider=-1
;========================================
[MeasureStartGreen]
Measure=Calc
Formula=Random
LowBound=0
HighBound=255
UpdateDivider=-1
;========================================
[MeasureStartBlue]
Measure=Calc
Formula=Random
LowBound=0
HighBound=255
UpdateDivider=-1
;========================================
[MeasureOffsetRed]
Measure=Calc
Formula=Random
LowBound=-2
HighBound=2
UpdateRandom=1
UpdateDivider=-1
Group=Offset
;========================================
[MeasureOffsetGreen]
Measure=Calc
Formula=Random
LowBound=-2
HighBound=2
UpdateRandom=1
UpdateDivider=-1
Group=Offset
;========================================
[MeasureOffsetBlue]
Measure=Calc
Formula=Random
LowBound=-2
HighBound=2
UpdateRandom=1
UpdateDivider=-1
Group=Offset
;========================================
[MeterBackground]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,([Meter:W]+30),([Meter:H]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(15/(Clamp(#Thickness#,0.000001,15))))
Shape2=Rectangle 1,1,([Meter:W]+28),([Meter:H]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(14/(Clamp(#Thickness#,0.000001,15))))
Shape3=Rectangle 2,2,([Meter:W]+26),([Meter:H]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(13/(Clamp(#Thickness#,0.000001,15))))
Shape4=Rectangle 3,3,([Meter:W]+24),([Meter:H]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(12/(Clamp(#Thickness#,0.000001,15))))
Shape5=Rectangle 4,4,([Meter:W]+22),([Meter:H]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(11/(Clamp(#Thickness#,0.000001,15))))
Shape6=Rectangle 5,5,([Meter:W]+20),([Meter:H]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(10/(Clamp(#Thickness#,0.000001,15))))
Shape7=Rectangle 6,6,([Meter:W]+18),([Meter:H]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(9/(Clamp(#Thickness#,0.000001,15))))
Shape8=Rectangle 7,7,([Meter:W]+16),([Meter:H]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(8/(Clamp(#Thickness#,0.000001,15))))
Shape9=Rectangle 8,8,([Meter:W]+14),([Meter:H]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(7/(Clamp(#Thickness#,0.000001,15))))
Shape10=Rectangle 9,9,([Meter:W]+12),([Meter:H]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(6/(Clamp(#Thickness#,0.000001,15))))
Shape11=Rectangle 10,10,([Meter:W]+10),([Meter:H]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(5/(Clamp(#Thickness#,0.000001,15))))
Shape12=Rectangle 11,11,([Meter:W]+8),([Meter:H]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(4/(Clamp(#Thickness#,0.000001,15))))
Shape13=Rectangle 12,12,([Meter:W]+6),([Meter:H]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(3/(Clamp(#Thickness#,0.000001,15))))
Shape14=Rectangle 13,13,([Meter:W]+4),([Meter:H]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(2/(Clamp(#Thickness#,0.000001,15))))
Shape15=Rectangle 14,14,([Meter:W]+2),([Meter:H]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(1/(Clamp(#Thickness#,0.000001,15))))
Shape16=Rectangle 15,15,[Meter:W],[Meter:H] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(0/(Clamp(#Thickness#,0.000001,15))))
DynamicVariables=1
;========================================
[Meter]
Meter=Image
ImageName=#@#Test1.png
MouseOverAction=[!CommandMeasure "MeasureRainbow" "Stop 1"][!CommandMeasure "MeasureRainbow" "Execute 1"]
LeftMouseUpAction=["notepad"]
X=15r
Y=15r
W=130
H=30
AntiAlias=1
ToolTipText=Left click opens Notepad.
;========================================
[MeterString]
Meter=String
FontFace=Alex Brush
FontColor=255,255,255,255
StringEffect=Border
FontEffectColor=0,0,0,0
FontSize=15
AntiAlias=1
Y=3r
X=32r
Text=Notepad
;========================================
[MeterContainer]
Meter=Shape
Shape=Rectangle 10,10,8,8,8
X=-28r
Y=-2r
;========================================
```

Hey, so, that's the whole code for the crhomatic / rainbow notepad for example. Are you sure it's on the meter? I think so too...