It is currently April 20th, 2024, 7:31 am

[help] weatehr skin not showing

Get help with creating, editing & fixing problems with skins
jk7063
Posts: 1
Joined: April 22nd, 2022, 5:47 pm

[help] weatehr skin not showing

Post by jk7063 »

I downloaded "MOND" skin. but the weather skin is not swowing. p[lz help.
here is the code.

Code: Select all

[Rainmeter]
Update=1000
Author=Connect-R
BackgroundMode=2
SolidColor=0,0,0,1
DynamicWindowSize=1
AccurateText=1
MouseScrollUpAction=[!SetVariable Scale "(#Scale#+#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#+#ScrollMouseIncrement#)"][!Refresh] 
MouseScrollDownAction=[!SetVariable Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!Refresh] 
LeftMouseDoubleClickAction=!ToggleConfig "Lasix\Settings" "Settings.ini"

[Variables]
@include=#@#Variables.inc
@include2=#@#Language\#Language#.inc
Scale=0.56

;-------------------------------------------------------------
;-------------------------------------------------------------

[MeasureCheckNetwork]
Measure=Plugin
Plugin=SysInfo
SysInfoType=INTERNET_CONNECTIVITY
SysInfoData=Best
OnChangeAction=[!CommandMeasure MeasureCurrent "Update"]

;-------------------------------------------------------------
;-------------------------------------------------------------

[MeasureCurrent]
Measure=Plugin
Plugin=WebParser.dll
UpdateRate=900
Url=https://www.yahoo.com/news/weather/south-korea/seoul/seoul-1132599
RegExp=(?siU)<city.*name="(.*)".*<temperature.*value="(.*)".*unit="(.*)".*<weather .*value="(.*)".*icon="(.*)"

;-------------------------------------------------------------
;-------------------------------------------------------------

[MeasureTempUnit]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureCurrent]
StringIndex=1

[MeasureLocation]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureCurrent]
StringIndex=2

[MeasureWeatherTemp]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureCurrent]
StringIndex=3

[MeasureWeatherCond]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureCurrent]
StringIndex=4
Substitute=#Conditions#

[MeasureWeatherIcons]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureCurrent]
StringIndex=5

;-------------------------------------------------------------
;-------------------------------------------------------------

[MeterCurrentIcon]
Meter=Image
MeasureName=MeasureWeatherIcons
Path=#@#WeatherIcons
X=(0*#Scale#)
Y=(0*#Scale#)
W=(150*#Scale#)
AntiAlias=1

;-------------------------------------------------------------
;-------------------------------------------------------------

[MeterLocation]
Meter=String
MeasureName=MeasureLocation
StringAlign=Left
StringCase=Upper
FontFace=Aquatico
FontColor=#TextColor#
FontSize=(28*#Scale#)
X=(150*#Scale#)
Y=(40*#Scale#)
Text="%1"
AntiAlias=1

[MeterCurrentCond]
Meter=String
MeasureName=MeasureWeatherCond
MeasureName2=MeasureWeatherTemp
MeasureName3=MeasureTempUnit
StringAlign=Left
StringCase=Upper
FontFace=Aquatico
FontColor=#TextColor#
FontSize=(16*#Scale#)
X=(150*#Scale#)
Y=(80*#Scale#)
Text="%1 %2°%3"
AntiAlias=1
Last edited by jsmorley on April 22nd, 2022, 5:53 pm, edited 1 time in total.
Reason: Please use the code tags for embedding your code. It's the </> button at the top.
User avatar
balala
Rainmeter Sage
Posts: 16148
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: [help] weatehr skin not showing

Post by balala »

jk7063 wrote: April 22nd, 2022, 5:50 pm I downloaded "MOND" skin. but the weather skin is not swowing.
It is showing, but you can only see a degree symbol (º). This is happening because the skin uses an old, in meantime deprecated source, which doesn't work anymore. The whole code has to be rewritten. There is a very good tutorial on how to do this. Follow it.