Yes balala, your approach is more to the point and simpler in this case.
I based mine on the literal requirement: "I need to capture all the text displayed after TempSymb.".
However...
balala wrote: ↑March 30th, 2019, 1:51 pm
The
DynamicVariables=1 option is not even needed on the [MeterTempCond] meter.
I do not believe this is accurate. DynamicVariables will be required any time a [MeasureName] section variable is used in a meter option. While yes, it will appear to work with my example skin, as the value of the String measures are initially set and never change, it's actually not working, and certainly won't work if the values are coming from WebParser, which always has an initial value of "" (an empty string), and at the very best can only have a value "after" the first update.
Without
DynamicVariables=1, the value of the [SectionVariable] in the meter option will never change as the supporting measure value changes, and the InlinePattern will fail as soon as the measure value changes. The value will no longer match on what is actually displayed in the meter.
Here is an example that demonstrates:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeasureLoop]
Measure=Loop
StartValue=1
EndValue=9
[MeterOne]
Meter=String
MeasureName=MeasureLoop
FontSize=12
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
InlineSetting=Size | 20
InlinePattern=([MeasureLoop])
Padding=5,5,5,5
AntiAlias=1
;DynamicVariables=1
Text=The value of the loop is %1 right now
The InlinePattern option will only work when the value of the loop measure is currently "1", which is the first initial value it had. It will fail when the loop measure is at "2" through "9".