Hi all...been a while. I used to lurk here a lot more back in the day but unfortuately life really went downhill since 2017 and to cut a long story short, I went to hell and back.
Luckily I'm on the mend again and I'm slowly returning to things that I used to fondly spend time doing all those years ago. So I decided to give a few of my unfinished skins a go and felt like finishing one off, sort of inspired by the android designs over the years.
Before I post it in the skins section, any idea why this webparser isn't working?
Everything works apart from the measureWAN measure. It doesn't parse the html code and I can't figure out why...given that I've given rainmeter a break for around 6 years it could be something fundamental that I've forgotten, but after a couple of hours online I can't seem to diagnose the issue.
Thanks in advance!
Luckily I'm on the mend again and I'm slowly returning to things that I used to fondly spend time doing all those years ago. So I decided to give a few of my unfinished skins a go and felt like finishing one off, sort of inspired by the android designs over the years.
Before I post it in the skins section, any idea why this webparser isn't working?
Everything works apart from the measureWAN measure. It doesn't parse the html code and I can't figure out why...given that I've given rainmeter a break for around 6 years it could be something fundamental that I've forgotten, but after a couple of hours online I can't seem to diagnose the issue.
Thanks in advance!
Code:
[measureConnection]Measure=SysInfoSysInfoType=INTERNET_CONNECTIVITYSubstitute="-1":"#_skinOff#","1":"#_skinOn#","0":"zWait"IfCondition=measureConnection=-1IfTrueAction=!SetTransparency 100IfFalseAction=!SetTransparency 255OnChangeAction=[!UpdateMeasure measureWAN][!Refresh][measureWAN]Measure=WebParserUrl=https://www.whatismyip.com/RegExp=(?siU)<span class="the-ipv4">(.*)</span>StringIndex=1Substitute="":"No connection"UpdateRate=3600[measureGateway]Measure=SysInfoSysInfoData=BestSysInfoType=GATEWAY_ADDRESSSubstitute="":"N/A"UpdateDivider=-1; ----------------------------------; METERS; ----------------------------------[meterConnectionIcon]Meter=ImageMeasureName=measureConnectionImagePath=#@#Images\Network\LeftMouseUpAction=[Shell:::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}]DynamicVariables=1[meterNetworkInfo]Meter=StringMeterStyle=SmallText | BigSkinTextFormatMeasureName=measureWANMeasureName2=measureGatewayText=%1#CRLF#%2
Statistics: Posted by DanielPodo — Yesterday, 11:29 pm — Replies 8 — Views 108