So, I set up that IfMatch, which works fine, but only if there is a version number already in place in the Variable:But if I leave App1Current= empty/blank, the IfMatch doesn't work correctly, is there a simple solution to this?
I tried this IfMatch=^$ || #App1Current# to no avail.
Code:
[Variables]App1Current=0.272.0App1Site=https://messui.1emulation.com/[mApp1Site]Measure=WebParserURL=#App1Site#RegExp=(?siU)<td align="left"><a href="(.*)"><img src="dl.png" border=0> MAMEUI64 (.*) .*</a></td>UpdateRate=3600DynamicVariables=1; Debug=2[mApp1Download]Measure=WebParserURL=[mApp1Site]StringIndex=1DynamicVariables=1[mApp1Latest]Measure=WebParserURL=[mApp1Site]StringIndex=2DynamicVariables=1IfMatch=#App1Current#IfMatchAction=[!SetOption App1Latest Fill1 "FillColor #Green#"]IfNotMatchAction=[!SetOption App1Latest Fill1 "FillColor #Red#"][App1Download]Meter=StringMeterStyle=sGlobalText | sDownload | sHighlightLeftMouseUpAction=#App1Download#[m[#CURRENTSECTION]]Y=65[App1Latest]Meter=ShapeMeterStyle=sLatest[App1]Meter=StringMeterStyle=sGlobalText | sAppText=MameUI
I tried this IfMatch=^$ || #App1Current# to no avail.
Statistics: Posted by sl23 — Yesterday, 5:40 pm — Replies 26 — Views 204