'If Match' not working properly
Posted: December 11th, 2018, 1:03 pm
Okay, this is the code
The String Value Webparser gets is exactly "20181208" not a single space, Version code=20181210
But still it has no effect
Thanks,
Code: Select all
[DeviantParser]
Measure=Webparser
URL=https://www.deviantart.com/sparkshredder/art/Bumblebee-Rainmeter-Skin-775793592
RegExp=(?siU)Version Code: (.*)Last Updated(.*) ;----.*¦¦ (V .*)-.* ;-(.*)<br /><br />
FinishAction=[!EnableMeasureGroup Updater][!UpdateMeter *][!Redraw]
;---To Prevent Update Notification on Connection Failure, UpdateChecker is disabled.
[UpdateChecker]
Measure=Webparser
Url=[DeviantParser]
StringIndex=1
Substitute=" ":""
IfMatch=#VersionCode#
IfMatchAction=[!SetOption Stinger ImageTint "#Color2#"][!HideMeterGroup Updater][!Redraw]
IfNotMatchAction=[!SetOption Stinger ImageTint "#Color3#"][!ShowMeterGroup Updater][!Redraw]
Group=Updater
Disabled=1
;----OtherMeter
;##########
;-----Update Meters
[UpdateHead]
Meter=Shape
Shape=Line 0,0,250,0 | Stroke Color #Color2#,255 | StrokeWidth 2
Group=Updater
Hidden=1
X=220
Y=0
[UpdateBg]
Meter=Shape
Shape=Rectangle 0,4,250,120 | Extend UpdateBgFill | StrokeWidth 0
UpdateBgFill=Fill Color #BackGround#
MouseOverAction=[!SetOption UpdateBg UpdateBgFill "Fill Color #HoverGround#"][!UpdateMeter UpdateBg][!Redraw]
MouseLeaveAction=[!SetOption UpdateBg UpdateBgFill "Fill Color #BackGround#"][!UpdateMeter UpdateBg][!Redraw]
LeftMouseDoubleClickAction=[#SkinLink#]
Group=Updater
Hidden=1
X=r
Y=r
[UpdateInfo]
Meter=String
MeasureName=UpdateFeatures
MeasureName2=LastUpdated
MeasureName3=LatestVersion
MeterStyle=TextStyle1
InlineSetting=Color | #color3#
InlinePattern=^(.*): V
Text=%3 %2%1
ClipString=1
Group=Updater
Hidden=1
X=5r
Y=5r
W=240
H=110
But still it has no effect
Thanks,