It is currently May 19th, 2024, 2:44 pm
Get help with creating, editing & fixing problems with skins
HellWatcher
Posts: 2 Joined: October 3rd, 2012, 10:25 am
Post
by HellWatcher » October 3rd, 2012, 10:37 am
Hello, this is the first attempt at making a skin. I'm having trouble. The rainmeter log says that it fails to download the url
http://kadenaservices.com/weather/files/tccor_fbu1.png .
It's supposed to show me what TCCOR my location is in as it changes.
Code: Select all
[Rainmeter]
Author=HellWatcher
Update=1000
[Variables]
URL=http://weather.kadenaforcesupport.com/update/tccor.htm
[TCCORMeasure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=#URL#
RegExp="(?siU)<img src=(.+?) alt.*"
FinishAction=!RainmeterRedraw
StringIndex=1
Download=1
[MeterTCCOR]
Meter=IMAGE
MeasureName=TCCORMeasure
X=0
Y=0
W=300
H=200
[Overlay]
Meter=Image
ImageName=OVERLAY.png
X=0
Y=0
W=150
H=100
/[code]
I'm also new at posting stuff in general hence the bad BBCode.
jsmorley
Developer
Posts: 22633 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » October 3rd, 2012, 11:40 am
RegExp="(?siU)<img src="(.*)".*"
You were capturing the quotes around the file src url in the result, which was failing.
HellWatcher
Posts: 2 Joined: October 3rd, 2012, 10:25 am
Post
by HellWatcher » October 3rd, 2012, 12:19 pm
ok I see. Silly mistake, thank you.