It is currently April 27th, 2024, 3:34 pm

Need help with weather on a custom skin.

Get help with creating, editing & fixing problems with skins
gLAssesRM
Posts: 8
Joined: January 3rd, 2012, 1:54 am

Need help with weather on a custom skin.

Post by gLAssesRM »

Whats up Everyone, i have a question that i've been stuck on for awhile.

I'm using a skin called cloud2, here is a link:
http://ultimatert.deviantart.com/gallery/#/d4fey53

And I am having trouble getting the darn weather to work, i've tried using my zip code and using the weather.com URL code, but it only tells me the weather of the skin creator.

i don't know what else to do :confused:




Code: Select all

[Rainmeter]

[bg]
meter=image
W=410
H=170

[Panel]
meter=image
solidcolor=255,255,255,20
Y=5
X=5
W=400
H=160

[LineUpper]
meter=image
solidcolor=255,255,255,100
Y=5
X=5
W=400
H=1

[LineLeft]
meter=image
solidcolor=255,255,255,100
Y=6
X=5
W=1
H=158

[LineBotom]
meter=image
solidcolor=255,255,255,100
Y=164
X=5
W=400
H=1

[LineRight]
meter=image
solidcolor=255,255,255,100
Y=6
X=404
W=1
H=158

[Variables]
@include=Config.inc

----------------------------------------------------------MEASURES---------------------------------

[MeasureCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://xml.weather.com/weather/local/#location#?cc=*&unit=#unit#&dayf=10
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<ppcp>(.*)</ppcp>.*"

--------------------------------

[MeasureIconCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=20

[MeasureMoonphaseIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
Substitute=#MoonImages#
StringIndex=33
Disabled=#MoonPhase#

[MoonPhase1]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=27
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MoonPhase2]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=29
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MoonPhase3]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=31
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MoonPhase4]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=33
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MeasureWeatherTextCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=3

[MeasureTempCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=17

[MeasureTempUnitCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=2

[MeasureLocationCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=8

[MeasureUpdateCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=15
Substitute="Local Time":""

[MeasureConditionsCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=19

[MeasureUnitsCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=3

[MeasureUnits2Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=4

[MeasureMoonphaseIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
Substitute=#MoonImages#
StringIndex=33

---------------------------------------------------------CURRENT--------------------------

[MeterMoonphaseIcon]
MeasureName=MeasureMoonphaseIcon
Meter=Image
X=60
Y=56
PreserveAspectRatio=1
AntiAlias=1
Hidden=1

[MeterCurrentIcon]
Path=#Icons#
MeasureName=MeasureIconCurrent
Meter=Image
PreserveAspectRatio=1
AntiAlias=1
X=10
Y=50
W=#CurrentIconsSize#
SolidColor=0,0,0,1

[MeterLocationCurrent]
MeasureName=MeasureLocationCurrent
Meter=String
X=10
Y=10
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=10
StringAlign=LEFT
StringStyle=NORMAL
SolidColor=0,0,0,1
RightMouseUpAction=!Execute [!RainmeterPluginBang "LocationInput ExecuteBatch 1"][!RainmeterShowMeter Panel2]
AntiAlias=1

[MeterUpdateCurrent]
MeasureName=MeasureUpdateCurrent
Meter=String
X=0r
Y=15r
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=8
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
Text="#Updated at# %1"

[MeterTempCurrent]
MeasureName=MeasureTempCurrent
MeasureName2=MeasureTempUnitCurrent
Meter=String
X=r
Y=11r
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=22
StringAlign=LEFT
StringStyle=normal
RightMouseUpAction=!Execute [!RainmeterPluginBang "unitInput ExecuteBatch 1"][!RainmeterShowMeter Panel2]
AntiAlias=1
Text="%1˚%2"

[MeterConditionsCurrent]
MeasureName=MeasureConditionsCurrent
Meter=String
X=70r
Y=10r
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=12
StringStyle=normal
StringAlign=LEFT
AntiAlias=1

--------------------------------------------------DETAIL_MEASURES------------------------------

[MeasureHumidityCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=27

[MeasureWindCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=23

[MeasureWindDirCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=26

[MeasureWindDegCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=25

[MeasureFeelsLikeCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=18

[MeasurePressureCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=21

[MeasurePressure2Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=22

[MeasurePressure3Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=5

[MeasurePrecipCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=34

[MeasureVisibilityCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=28
Disabled=#DetailedData#

[MeasureUVIndexCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=29

[MeasureUVTextCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=30

[MeasureSunriseCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=12

[MeasureSunsetCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=13

------------------------------------------------------------------DETAILS--------------------------

[MeterFeelsLikeCurrent]
MeasureName=MeasureFeelsLikeCurrent
Meter=String
X=390
Y=10
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Feels Like#: %1˚"

[MeterHumidityCurrent]
MeasureName=MeasureHumidityCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Humidity#: %1%"

[MeterVisibilityCurrent]
MeasureName=MeasureVisibilityCurrent
MeasureName2=MeasureUnitsCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Visibility#: %1 %2"

[MeterWindCurrent]
MeasureName=MeasureWindCurrent
MeasureName2=MeasureWindDirCurrent
MeasureName3=MeasureUnits2Current
MeasureName4=MeasureWindDegCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#WInd#: %1 %3 (%2-%4˚)"

[MeterPressureCurrent]
MeasureName=MeasurePressureCurrent
MeasureName2=MeasurePressure3Current
MeasureName3=MeasurePressure2Current
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Pressure#: %1 %2 (%3)"

[MeterPrecipCurrent]
MeasureName=MeasurePrecipCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Chance of Precip#: %1%"

[MeterUVIndexCurrent]
MeasureName=MeasureUVIndexCurrent
MeasureName2=MeasureUVTextCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#IndexUV#: %1 (%2)"

[MeterSunriseCurrent]
MeasureName=MeasureSunriseCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Sunrise#: %1"

[MeterSunsetCurrent]
MeasureName=MeasureSunsetCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Sunset#: %1"

--------------------------------------------------------------------CONFIGURATION-----------------------------------------------

[Panel2]
meter=image
solidcolor=0,0,0,150
Y=5
X=5
W=400
H=160
Hidden=1

[LocationInput]
Measure=Plugin
Plugin=InputText.dll
x=100
y=80
w=200
h=15
SolidColor=255,255,255,255
FontColor=0,0,0
Fontsize=10
FontFace=Century Gothic
Antialias=1
FocusDismiss=1
Command1=!Execute [!RainmeterWriteKeyValue Variables Location "$UserInput$" "Config.inc"][!refresh #currentconfig#][!RainmeterHideMeter Panel2]
DefaultValue="#Location#"

[UnitInput]
Measure=Plugin
Plugin=InputText.dll
x=100
y=80
w=200
h=15
SolidColor=255,255,255,255
FontColor=0,0,0
Fontsize=10
FontFace=Century Gothic
Antialias=1
FocusDismiss=1
Command1=!Execute [!RainmeterWriteKeyValue Variables Unit "$UserInput$" "Config.inc"][!refresh #currentconfig#][!RainmeterHideMeter Panel2]
DefaultValue="#Unit#"
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Need help with weather on a custom skin.

Post by Seahorse »

The skin uses and include @include=Config.inc you need to put your code in this file, save & refresh skin.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

gLAssesRM
Posts: 8
Joined: January 3rd, 2012, 1:54 am

Re: Need help with weather on a custom skin.

Post by gLAssesRM »

what do you mean put thr code in the file?

do you mean erase @include=config.inc part and add my weather code (USCA0638)?

or just add it?
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Need help with weather on a custom skin.

Post by Seahorse »

There is a file in the skin folder called "Config.inc". You need to edit that in Notepad (or similar) and insert your weather code. Save, and then refresh the skin.

that said, in big letter on the page you linked to it says:
To change the weather location, right click on location, enter your city's zip code (e.g. LGXX0004), hit enter and refresh skin.
To change units, right click on temperature, enter "i" for imperial or "m" for metric units, hit enter and refresh skin.
which suggests you can skip the manual editing altogether...
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

gLAssesRM
Posts: 8
Joined: January 3rd, 2012, 1:54 am

Re: Need help with weather on a custom skin.

Post by gLAssesRM »

i tried that...
that's why im asking here, i entered my zip code and pressed enter it didn't work,
i went to www.weather.com and found my areas weather and input the code into notepad and refreshed skin and still it didn't work, it gave me the weather for latvia.
I've been messing with the code soo much that no weather appears now.

Code: Select all

[Rainmeter]

[bg]
meter=image
W=410
H=170

[Panel]
meter=image
solidcolor=255,255,255,20
Y=5
X=5
W=400
H=160

[LineUpper]
meter=image
solidcolor=255,255,255,100
Y=5
X=5
W=400
H=1

[LineLeft]
meter=image
solidcolor=255,255,255,100
Y=6
X=5
W=1
H=158

[LineBotom]
meter=image
solidcolor=255,255,255,100
Y=164
X=5
W=400
H=1

[LineRight]
meter=image
solidcolor=255,255,255,100
Y=6
X=404
W=1
H=158

[Variables]
@include=Config.inc


----------------------------------------------------------MEASURES---------------------------------

[MeasureCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://www.weather.com/weather/today/USCA0638
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<ppcp>(.*)</ppcp>.*"

--------------------------------

[MeasureIconCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=20

[MeasureMoonphaseIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
Substitute=#MoonImages#
StringIndex=33
Disabled=#MoonPhase#

[MoonPhase1]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=27
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MoonPhase2]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=29
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MoonPhase3]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=31
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MoonPhase4]
Measure=Calc
Formula=[MeasureIconCurrent]
IfEqualValue=33
IfEqualAction=!execute [!RainmeterShowMeter MeterMoonphaseIcon]
DynamicVariables=1

[MeasureWeatherTextCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=3

[MeasureTempCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=17

[MeasureTempUnitCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=2

[MeasureLocationCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=8

[MeasureUpdateCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=15
Substitute="Local Time":""

[MeasureConditionsCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=19

[MeasureUnitsCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=3

[MeasureUnits2Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=4

[MeasureMoonphaseIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
Substitute=#MoonImages#
StringIndex=33

---------------------------------------------------------CURRENT--------------------------

[MeterMoonphaseIcon]
MeasureName=MeasureMoonphaseIcon
Meter=Image
X=60
Y=56
PreserveAspectRatio=1
AntiAlias=1
Hidden=1

[MeterCurrentIcon]
Path=#Icons#
MeasureName=MeasureIconCurrent
Meter=Image
PreserveAspectRatio=1
AntiAlias=1
X=10
Y=50
W=#CurrentIconsSize#
SolidColor=0,0,0,1

[MeterLocationCurrent]
MeasureName=MeasureLocationCurrent
Meter=String
X=10
Y=10
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=10
StringAlign=LEFT
StringStyle=NORMAL
SolidColor=0,0,0,1
RightMouseUpAction=!Execute [!RainmeterPluginBang "LocationInput ExecuteBatch 1"][!RainmeterShowMeter Panel2]
AntiAlias=1

[MeterUpdateCurrent]
MeasureName=MeasureUpdateCurrent
Meter=String
X=0r
Y=15r
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=8
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
Text="#Updated at# %1"

[MeterTempCurrent]
MeasureName=MeasureTempCurrent
MeasureName2=MeasureTempUnitCurrent
Meter=String
X=r
Y=11r
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=22
StringAlign=LEFT
StringStyle=normal
RightMouseUpAction=!Execute [!RainmeterPluginBang "unitInput ExecuteBatch 1"][!RainmeterShowMeter Panel2]
AntiAlias=1
Text="%1˚%2"

[MeterConditionsCurrent]
MeasureName=MeasureConditionsCurrent
Meter=String
X=70r
Y=10r
FontColor=255,255,255,150
FontFace=Century Gothic
FontSize=12
StringStyle=normal
StringAlign=LEFT
AntiAlias=1

--------------------------------------------------DETAIL_MEASURES------------------------------

[MeasureHumidityCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=27

[MeasureWindCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=23

[MeasureWindDirCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=26

[MeasureWindDegCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=25

[MeasureFeelsLikeCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=18

[MeasurePressureCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=21

[MeasurePressure2Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=22

[MeasurePressure3Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=5

[MeasurePrecipCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=34

[MeasureVisibilityCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=28
Disabled=#DetailedData#

[MeasureUVIndexCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=29

[MeasureUVTextCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=30

[MeasureSunriseCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=12

[MeasureSunsetCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureCurrent]
StringIndex=13

------------------------------------------------------------------DETAILS--------------------------

[MeterFeelsLikeCurrent]
MeasureName=MeasureFeelsLikeCurrent
Meter=String
X=390
Y=10
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Feels Like#: %1˚"

[MeterHumidityCurrent]
MeasureName=MeasureHumidityCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Humidity#: %1%"

[MeterVisibilityCurrent]
MeasureName=MeasureVisibilityCurrent
MeasureName2=MeasureUnitsCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Visibility#: %1 %2"

[MeterWindCurrent]
MeasureName=MeasureWindCurrent
MeasureName2=MeasureWindDirCurrent
MeasureName3=MeasureUnits2Current
MeasureName4=MeasureWindDegCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#WInd#: %1 %3 (%2-%4˚)"

[MeterPressureCurrent]
MeasureName=MeasurePressureCurrent
MeasureName2=MeasurePressure3Current
MeasureName3=MeasurePressure2Current
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Pressure#: %1 %2 (%3)"

[MeterPrecipCurrent]
MeasureName=MeasurePrecipCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Chance of Precip#: %1%"

[MeterUVIndexCurrent]
MeasureName=MeasureUVIndexCurrent
MeasureName2=MeasureUVTextCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#IndexUV#: %1 (%2)"

[MeterSunriseCurrent]
MeasureName=MeasureSunriseCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Sunrise#: %1"

[MeterSunsetCurrent]
MeasureName=MeasureSunsetCurrent
Meter=String
X=r
Y=15r
FontFace=Century Gothic
FontColor=255,255,255,150
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1
Text="#Sunset#: %1"

--------------------------------------------------------------------CONFIGURATION-----------------------------------------------

[Panel2]
meter=image
solidcolor=0,0,0,150
Y=5
X=5
W=400
H=160
Hidden=1

[LocationInput]
Measure=Plugin
Plugin=InputText.dll
x=100
y=80
w=200
h=15
SolidColor=255,255,255,255
FontColor=0,0,0
Fontsize=10
FontFace=Century Gothic
Antialias=1
FocusDismiss=1
Command1=!Execute [!RainmeterWriteKeyValue Variables Location "$UserInput$" "Config.inc"][!refresh #currentconfig#][!RainmeterHideMeter Panel2]
DefaultValue="#Location#"

[UnitInput]
Measure=Plugin
Plugin=InputText.dll
x=100
y=80
w=200
h=15
SolidColor=255,255,255,255
FontColor=0,0,0
Fontsize=10
FontFace=Century Gothic
Antialias=1
FocusDismiss=1
Command1=!Execute [!RainmeterWriteKeyValue Variables Unit "USCA0638" "Config.inc"][!refresh #currentconfig#][!RainmeterHideMeter Panel2]
DefaultValue="#Unit#"



Can you show me exactly where to input my code?
this is the url : http://www.weather.com/weather/today/USCA0638
and the instructions tells me i only need this part of the URL : USCA0638
User avatar
Mordasius
Posts: 1173
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Need help with weather on a custom skin.

Post by Mordasius »

I suggest you re-install the skin then open the config.inc file which you can find by going to -> Documents\Rainmeter\Skins\Desk Cloud 2\Desk Cloud Weather\Config.inc and change the Location= in the [Variables] section to:

Code: Select all

[Variables]
Location=USCA0638
Weather.com has been playing up a bit recently, but I did get the Desk Cloud 2 Weather skin to work after a bit of persistent refreshing. That said, I don't have any problems using Location=USCA0638 in other weather skins.
gLAssesRM
Posts: 8
Joined: January 3rd, 2012, 1:54 am

Re: Need help with weather on a custom skin.

Post by gLAssesRM »

Thanks, im going to try that, and let you know what happens. :circle:
do you know how to delete skins from your rain meter?
i have a lot listed when i click manage. i want all of them deleted so i can start fresh with a new cloud2 skin.
User avatar
Mordasius
Posts: 1173
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Need help with weather on a custom skin.

Post by Mordasius »

You can use Explorer to go to where your skins are (usually -> Documents\Rainmeter\Skins) and delete the folders containing any skins you don't want. Once that's done you'll need to click on [Refresh All] in Manage Rainmeter.
gLAssesRM
Posts: 8
Joined: January 3rd, 2012, 1:54 am

Re: Need help with weather on a custom skin.

Post by gLAssesRM »

I got the config.inc file to open and it still didn't work when i refreshed. I messaged the author of the skin, hopefully he will reply quickly. ill let you guys know what happens if you guys are interested. I WILL GET THIS SKIN TO WORK! :twisted:
gLAssesRM
Posts: 8
Joined: January 3rd, 2012, 1:54 am

Re: Need help with weather on a custom skin.

Post by gLAssesRM »

ok the author messaged me back. sorry for taking long to reply.
he told me

"There is a config.inc file in the weather skin's folder, edit the inc file.
The skin probably doesn't work because you use Rainmeter 2.2 beta."

after while i opened the config.inc file, and edited the variables, but he said it doesnt work because of the version of rainmeter i'm using, i have the 2.2 ver. beta installed, im going to install the non-beta version.

is there a big difference between the two?