This is the code I have made so far (a bit of a Frankenstein's monster of other codes).
Code: Select all
[Rainmeter]
Update=1000
[Variables]
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205
MaxNumber=3
Clicks=0
=====
[measureDATE]
Measure=Time
Format=%d.%m.%y
[measureNUMBER]
Measure=Calc
Formula=#Clicks#%(#MaxNumber#+1)
=====
[styleTitle]
StringAlign=CENTER
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1
[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15
=====
[meterDate]
Meter=String
MeterStyle=styleTitle
Text=[measureDATE]
X=100
Y=2
W=150
H=18
DynamicVariables=1
[meterTitle]
Meter=String
MeterStyle=styleTitle
Text=DOTA2 Games Quota
X=100
Y=14
W=150
H=18
DynamicVariables=1
[meterNumber]
Meter=STRING
MeterStyle=styleTitle
Text=[measureNUMBER]
X=100
Y=26
W=190
H=18
LeftMouseUpAction=!SetVariable Clicks "(#Clicks#+1)"
DynamicVariables=1
[meterBar]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureNUMBER
X=25
Y=40
W=150
H=2
Many Thanks,
Dave