Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 908

Help: Rainmeter Skins • IfMatch not detecting empty string

$
0
0
So, I set up that IfMatch, which works fine, but only if there is a version number already in place in the Variable:

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>&nbsp;&nbsp;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
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.

Statistics: Posted by sl23 — 3 minutes ago — Replies 0 — Views 4



Viewing all articles
Browse latest Browse all 908

Trending Articles