Issue when changing clock time based on day time
Posted: May 9th, 2021, 2:33 pm
Hello everyone !
I've some trouble to change the clock time based on the day time.
I've tested several solutions without any results... It's been 3 hours I'm on it and I'm not able to fix it!
As you can see, each condition is something that has been tested without any results...
Here is my code :
Thank's in advance for the help
I've some trouble to change the clock time based on the day time.
I've tested several solutions without any results... It's been 3 hours I'm on it and I'm not able to fix it!
As you can see, each condition is something that has been tested without any results...
Here is my code :
Code: Select all
[Rainmeter]
Update=1000
[Variables]
fontName=Digital-7
;fontName=DESG7ClassicMini
textSize=12
[Measure24Hr]
Measure=Calc
IfCondition=(MeasureTime >= 0600) && (Measure24Hr < 1300)
IfTrueAction=[!SetOption StyleTime TextColor "188,90,69,255,255"][!UpdateMeter StyleTime]
IfCondition2=(Measure24Hr >= 1300) && (Measure24Hr < 1900)
IfTrueAction2=[!SetOption StyleTimee TextColor "188,90,69,255,255"][!UpdateMeter StyleTime]
IfCondition3=(Measure24Hr >= 19) && (Measure24Hr < 23)
IfTrueAction3=[!SetVariable TextColor "188,90,69,255,255"][!UpdateMeter *]
IfCondition4=(Measure24Hr >= 23) || (Measure24Hr < 06)
IfTrueAction4=[!SetVariable TextColor "188,90,69,255,255"][!UpdateMeter *][!Redraw]
[MeasureTime]
Measure=Time
Format=%H:%M
[MeasureDate]
Measure=Time
Format=%d.%m.%Y
FormatLocale=fr-FR
[MeasureDay]
Measure=Time
Format=%A
FormatLocale=fr-FR
[StyleTime]
StringAlign=Center
StringStyle=Regular
StringEffect=Shadow
FontColor=#TextColor#
FontFace=#fontName#
FontSize=38
AntiAlias=1
ClipString=1
[styleLeftText]
;StringAlign=Left
StringStyle=Bold
StringEffect=Shadow
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText]
StringAlign=Right
StringStyle=Bold
StringEffect=Shadow
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[meterTime]
Meter=String
MeterStyle=styleTime
FontColor=#TextColor#
MeasureName=measureTime
X=245
Y=355
W=200
H=40
[meterDay]
Meter=String
MeterStyle=styleLeftText
MeasureName=measureDay
X=260
Y=400
W=190
H=14
[meterDate]
Meter=String
MeterStyle=styleRightText
MeasureName=measureDate
X=200
Y=0r
W=190
H=14
;Tosave
;FontEffectColor=0,0,0,20
;[styleSeperator]
;SolidColor=255,255,255,15