I have a text string that’s coloured red, whenever the time changes from a skin refresh the text turns black. Is there something I may be doing wrong? Or a work around?
EDIT: I’m using inline settings on the string, the day and time on the same string
It is currently March 28th, 2024, 10:45 am
Problem with time text changing colour
-
- Posts: 3
- Joined: June 27th, 2020, 8:06 pm
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Problem with time text changing colour
It's useless to ask something like this, without posting a code. So, please post one.Mike199030 wrote: ↑June 27th, 2020, 8:10 pm I have a text string that’s coloured red, whenever the time changes from a skin refresh the text turns black. Is there something I may be doing wrong? Or a work around?
EDIT: I’m using inline settings on the string, the day and time on the same string
-
- Posts: 3
- Joined: June 27th, 2020, 8:06 pm
Re: Problem with time text changing colour
Code: Select all
[Rainmeter]
Update=1000
SolidColor=0,0,0,150
[Metadata]
Name=
Author=
Information=
Version=
License=
[styleText]
StringStyle=Bold
StringAlign=Left
StringEffect=BORDER
FontEffectColor=60,60,60,255
[MeasureDay]
Measure=Time
Format=%A
[MeasureDate]
Measure=Time
Format= %#d
[MeasureMonth]
Measure=Time
Format=%B
[MeasureYear]
Measure=Time
Format=%Y
[Measure24HrTime]
MeterStyle=styleTime
Measure=Time
Format=%H:%M
[MeterLeft]
MeterStyle=styleText
Meter=String
MeasureName=MeasureDate
MeasureName2=MeasureMonth
MeasureName3=MeasureYear
X=130
Y=65
AntiAlias=1
FontSize=30
Text=%1#CRLF#%2 %3
InlineSetting=Color | 205,10,2,255
InlinePattern=^[MeasureDate]
InlineSetting2=Size | 50
InlinePattern2=^[MeasureDate]
InlineSetting3=Color | 171,171,171,255
InlinePattern3=#CRLF#[MeasureMonth] [MeasureYear]$
[MeterRight]
MeterStyle=styleText
Meter=String
MeasureName=MeasureDay
MeasureName2=Measure24HrTime
StringAlign=Center
X=1200
Y=50
AntiAlias=1
FontSize=50
Text=%1#CRLF#%2
InlineSetting=Color | 171,171,171,255
InlinePattern=^[MeasureDay]
InlineSetting2=Size | 30
InlinePattern2=^[MeasureDay]
InlineSetting3=Color | 205,10,2,255
InlinePattern3=#CRLF#[Measure24HrTime]$
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Problem with time text changing colour
Simply add a DynamicVariables=1 option to the [MeterRight] meter. This option is required because the meter uses section variables into the InlinePatternX options (for instance InlinePattern3=#CRLF#[Measure24HrTime]$) and section variables are requiring to set the dynamic variables.
-
- Posts: 3
- Joined: June 27th, 2020, 8:06 pm
Re: Problem with time text changing colour
Thank you so much!balala wrote: ↑June 27th, 2020, 8:43 pm Simply add a DynamicVariables=1 option to the [MeterRight] meter. This option is required because the meter uses section variables into the InlinePatternX options (for instance InlinePattern3=#CRLF#[Measure24HrTime]$) and section variables are requiring to set the dynamic variables.
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Problem with time text changing colour
Did it work? Hope it did.