It is currently September 20th, 2019, 12:57 pm

How to make weather work

Help with creating, editing & fixing problems with skins
Mythx
Posts: 2
Joined: August 6th, 2019, 12:23 pm

How to make weather work

Mythx » August 6th, 2019, 12:27 pm

I think i have to put my weather code in here somewhere but im confused and dont know what to do, please help

Code: Select all

[Rainmeter]
MiddleMouseUPAction=!Refresh
OnRefreshAction=[!WriteKeyValue  "#Layout#\Weather" "LoadOrder" "2" %APPDATA%\Rainmeter\Rainmeter.ini] [!ZPos 0]
AccurateText=1

[Metadata]
Author=Mordasius
Name=Weather
Version= 210114
License=Creative Commons BY-NC-SA 3.0

[Variables]
@Include=#@#Configs\DefaultVariables.inc
@Include2=#@#Configs\CommonStyles.inc
@Include3=#@#Configs\UserVariables.inc
@Include4=#@#WeatherRegExp.inc
WeatherIcons=#@#images\weather\wIcons\
5dayForecast=http://www.weather.com/weather/5-day/#WeatherCode#
WindDirections="VAR":"S","N/A":"","CALM":"Calm","S":"South","N":"North","E":"East","W":"West","NorthNorthWest":"NNW","WestNorthWest":"WNW","WestSouthWest":"WSW","SouthSouthWest":"SSW","SouthSouthEast":"SSE","EastSouthEast":"ESE","EastNorthEast":"ENE","NorthNorthEast":"NNE","SouthEast":"SE","SouthWest":"SW","NorthEast":"NE","NorthWest":"NW"
UpdateWeather=1800
PanelWidth=304
RPX=184
RPY=20
FIconX=65
FX1=146
F1Y=16
F2Y=115
F3Y=218
IconSize=68
Yspace=16

[sText]
FontFace=Puritan
FontSize=9
StringEffect=SHADOW
FontColor=452c14
FontEffectColor=ffffff66
AntiAlias=1

;;===  [  measures  ]  
 
[MeasureAll]
Measure=Plugin
Plugin=WebParser
; URL=http://xml.weather.com/weather/local/#WeatherCode#?cc=*&unit=#Units#&dayf=3
Url=http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Units#&dayf=3
RegExp=(?siU)^(.*)$
FinishAction=[!EnableMeasureGroup Weather] [!ShowMeterGroup Now] [!EnableMeasure mLuaScript] 
UpdateRate=#UpdateWeather#

[mLuaScript]
Measure=Script
ScriptFile=Weather.lua
Disabled=1

;===  [  current measures  ] 
[Location]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#Location#
Group=Weather
Disabled=1

[mCityName]
Measure=Plugin
Plugin=WebParser
URL=[Location]
StringIndex=2
Group=Weather
Disabled=1
;---
[UnitsOfMeasure]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#UnitsOfMeasure#
Group=Weather
Disabled=1

[mTempUnits]
Measure=Plugin
Plugin=WebParser
URL=[UnitsOfMeasure]
StringIndex=3
Substitute="C":"°C","F":"°F"
Group=Weather
Disabled=1

[mWindSpeedUnits]
Measure=Plugin
Plugin=WebParser
URL=[UnitsOfMeasure]
StringIndex=5
Group=Weather
Disabled=1

;===  [  current measures  ]  

[CurrentConditions]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#CurrentConditions#
Group=Weather
Disabled=1

[mTempNow]
Measure=Plugin
Plugin=WebParser
URL=[CurrentConditions]
StringIndex=3
Group=Weather
Disabled=1

[mFeelsLike]
Measure=Plugin
Plugin=WebParser
URL=[CurrentConditions]
StringIndex=4
Group=Weather
Disabled=1

[mDescriptionNow]
Measure=Plugin
Plugin=WebParser
URL=[CurrentConditions]
StringIndex=5
Group=Weather
Disabled=1

[mIconCurrent]
Measure=Plugin
Plugin=WebParser
URL=[CurrentConditions]
StringIndex=6
Group=Weather
Disabled=1

;---
[CurrentBarometric]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#CurrentBarometric#
Group=Weather
Disabled=1

[mPressureNow]
Measure=Plugin
Plugin=WebParser
URL=[CurrentBarometric]
StringIndex=1
Group=Weather
Disabled=1

[mPressureChange]
Measure=Plugin
Plugin=WebParser
URL=[CurrentBarometric]
StringIndex=2
Group=Weather
Disabled=1

;------

[CurrentWind]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#CurrentWind#
Group=Weather
Disabled=1

[mWindSpeed]
Measure=Plugin
Plugin=WebParser
URL=[CurrentWind]
StringIndex=1
Substitute="N/A":"0","calm":"0"
Group=Weather
Disabled=1

[mWindAngleNow] 
Measure=Plugin
Plugin=WebParser
URL=[CurrentWind]
StringIndex=3
Group=Weather
Disabled=1

[mWindDirection]
Measure=Plugin
Plugin=WebParser
URL=[CurrentWind]
StringIndex=4
Group=Weather
Disabled=1

;-----

[CurrentElements]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#CurrentElements#
Group=Weather
Disabled=1

[mHumidityNow]
Measure=Plugin
Plugin=WebParser
URL=[CurrentElements]
StringIndex=1
Group=Weather
Disabled=1

[mCurrentUV]
Measure=Plugin
Plugin=WebParser
URL=[CurrentElements]
StringIndex=3
Group=Weather
Disabled=1

[mUVlevel]
Measure=Plugin
Plugin=WebParser
URL=[CurrentElements]
StringIndex=4
Group=Weather
Disabled=1

[DayNightSwitch]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#DayNightSwitch#
Group=Weather
Disabled=1

[mDayNightSwitcher]
Measure=Plugin
Plugin=WebParser
URL=[DayNightSwitch]
Substitute="":"N"
StringIndex=2
Group=Weather
Disabled=1

;===  [ Today Forecast ]  

[TodayGeneral]
Measure=Plugin
Plugin=WebParser
URL=[MeasureAll]
RegExp=#TodayGeneral#
DynamicVariables=1
Group=Weather
Disabled=1

[mHighToday]
Measure=Plugin
Plugin=WebParser
URL=[TodayGeneral]
StringIndex=4
Group=Weather
Disabled=1

[mLowToday]
Measure=Plugin
Plugin=WebParser
URL=[TodayGeneral]
StringIndex=5
Group=Weather
Disabled=1

[TodayConditions]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[MeasureAll]
RegExp=#TodayConditions#
Disabled=1

[mTodayIcon]
Measure=Plugin
Plugin=WebParser
URL=[TodayConditions]
StringIndex=1
Group=Weather
Disabled=1

[mTodayDescription]
Measure=Plugin
Plugin=WebParser
URL=[TodayConditions]
StringIndex=2
Group=Weather
Disabled=1

[TodayWindRain]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[MeasureAll]
RegExp=#TodayWindRain#
Disabled=1

[mTodayWindSpeed]
Measure=Plugin
Plugin=WebParser
URL=[TodayWindRain]
StringIndex=1
Substitute="N/A":"0","calm":"0"
Group=Weather
Disabled=1

[mDayWindDirection]
Measure=Plugin
Plugin=WebParser
URL=[TodayWindRain]
StringIndex=4
Substitute=#WindDirections#
Group=Weather
Disabled=1

[mTodayRain]
Measure=Plugin
Plugin=WebParser
URL=[TodayWindRain]
StringIndex=5
Group=Weather
Disabled=1

;===  [ Tonight Forecast ]  
[TonightForecast]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[MeasureAll]
RegExp=#TonightForecast#
Disabled=1

[mLowTonight]
;--from [TodayGeneral] 
Measure=Plugin
Plugin=WebParser
URL=[TodayGeneral]
StringIndex=5
Group=Weather
Disabled=1

[mTonightIcon]
Measure=Plugin
Plugin=WebParser
URL=[TonightForecast]
StringIndex=1
Group=Weather
Disabled=1

[mTonightDescription]
Measure=Plugin
Plugin=WebParser
URL=[TonightForecast]
StringIndex=2
Group=Weather
Disabled=1

[mTonightWindSpeed]
Measure=Plugin
Plugin=WebParser
URL=[TonightForecast]
StringIndex=3
Group=Weather
Disabled=1
Substitute="N/A":"0","calm":"0"

[mTonightWindDirection]
Measure=Plugin
Plugin=WebParser
URL=[TonightForecast]
StringIndex=5
Group=Weather
Disabled=1
Substitute=#WindDirections#

[mTonightRain]
Measure=Plugin
Plugin=WebParser
URL=[TonightForecast]
StringIndex=6
Group=Weather
Disabled=1

;===  [ Tomorrow ]  

[TomorrowForecast]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[MeasureAll]
RegExp=#TomorrowForecast#
Disabled=1

[mDayTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=1
Group=Weather
Disabled=1

[mHighTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=2
Group=Weather
Disabled=1

[mLowTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=3
Group=Weather
Disabled=1

[mTomorrowIcon]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=4
Group=Weather
Disabled=1

[mDescriptionTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=5
Group=Weather
Disabled=1

[mWindSpeedTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=6
Group=Weather
Disabled=1

[mWindDirectionTomorrow] 
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=7
Group=Weather
Disabled=1

[mRainTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[TomorrowForecast]
StringIndex=8
Group=Weather
Disabled=1

;=== [ Day After Tomorrow ]

[DayAfterForecast]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[MeasureAll]
RegExp=#DayAfterForecast#
Disabled=1

[mDayAfterTomorrow]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=1
Group=Weather
Disabled=1

[mHighAfter]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=2
Group=Weather
Disabled=1

[mLowAfter]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=3
Group=Weather
Disabled=1

[mIconAfter]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=4
Group=Weather
Disabled=1

[mDescriptionAfter]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=5
Group=Weather
Disabled=1

[mWindSpeedAfter]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=6
Group=Weather
Disabled=1

[mWindDirectionAfter] 
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=7
Group=Weather
Disabled=1

[mRainAfter]
Measure=Plugin
Plugin=WebParser
URL=[DayAfterForecast]
StringIndex=8
Group=Weather
Disabled=1

;=== [ meters ]	=====================
[MtBackground1]
Meter=IMAGE
ImageName=#@#images\weather\wb1.png
X=#RPX#
Y=#RPY#
UpdateDivider=-1

;=== [ Current Weather ]

[MtCurrentIcon]
Meter=IMAGE
Path=#WeatherIcons#
MeasureName=mIconCurrent
X=(#RPX#+48)
Y=(#RPY#+91)
H=(#IconSize#+2)
W=(#IconSize#+2)
ToolTipIcon=#@#Images\Weather\Wicons\TWC-L.ico
ToolTipType=1
ToolTipTitle=[mCityName]
ToolTipText="[mDescriptionNow]#CRLF#Temperature:  [mTempNow][mTempUnits] (feels like [mFeelsLike][mTempUnits])#CRLF#Humidity:   [mHumidityNow]%#CRLF#Wind: [mWindDirection] at [mWindSpeed] [mWindSpeedUnits]#CRLF#UV level: [mCurrentUV] [mUVlevel]"
LeftMouseUpAction=http://www.weather.com/weather/right-now/#weathercode#
AntiAlias=1
DynamicVariables=1
Group=Now

[MtForecastIcon]
Meter=IMAGE
Path=#WeatherIcons#
MeasureName=mIconCurrent
ImageTint=ffffffaa
MouseOverAction=[!SetOption "#CURRENTSECTION#" ImageTint ffffff] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption "#CURRENTSECTION#" ImageTint ffffffaa] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
LeftMouseUpAction=[!ToggleMeterGroup #GroupToShow# ] [!ToggleMeterGroup Forecast] 
ToolTipIcon=#@#Icons\Forecast.ico
ToolTipType=1
ToolTipTitle=Weather Forecast
ToolTipText = "Today, [mDayTomorrow] and [mDayAfterTomorrow]"
X=(#RPX#+137)
Y=(#RPY#+170)
H=45
W=45
DynamicVariables=1
Group=Now
Hidden=1

[cSetPressureNow]
Measure=CALC
Formula=mPressureNow
MinValue=942
MaxValue=1056

[MtBarometer]
Meter=ROTATOR
MeasureName=cSetPressureNow
ImageName=#@#images\weather\ptb.png
ToolTipIcon=#@#Icons\Barometer.ico
ToolTipType=1
ToolTipTitle=Barometer
ToolTipText="Pressure in mb"
X=(#RPX#+203)
Y=(#RPY#+45)
W=80
H=80
OffsetX=40
OffsetY=40
StartAngle=2.0943951
RotationAngle=5.23598776
Antialias=1
DynamicVariables=1
Group=Now
Hidden=1

[cSetDirectionNow]
Measure=CALC
Formula=mWindAngleNow
MinValue=0
MaxValue=360

[MtWindIndicator]
Meter=ROTATOR
MeasureName=cSetDirectionNow
ImageName=#@#images\weather\ptw.png
ToolTipIcon=#@#icons\wind.ico
ToolTipType=1
ToolTipTitle=Wind
ToolTipText="Huffing and puffing"
X=(#RPX#+215)
Y=(#RPY#+185)
W=80
H=80
OffsetX=40
OffsetY=40
DynamicVariables=1
Group=Now
Hidden=1

[MtTempNow]
Meter=STRING
MeasureName=mTempNow
MeasureName2=mTempUnits
StringAlign=CENTER
StringStyle=BOLD
FontFace=Calibri
FontSize=8
StringEffect=SHADOW
FontEffectColor=95939388
FontColor=2f1e0a
AntiAlias=1
W=30
H=18
X=(#RPX#+82)
Y=(#RPY#+272)
Text=%1%2
DynamicVariables=1
Group=Now
Hidden=1

[cDummy1]
Measure=CALC
Formula=0
UpdateDivider=-1

[MtFeelsPointer]
Meter=Rotator
MeasureName=cDummy1
X=(#RPX#+46)
Y=(#RPY#+222)
W=70
H=70
ImageName=#@#images\weather\ptf.png
OffsetX=35
OffsetY=35
StartAngle=4.08
RotationAngle=4.437
Antialias=1
DynamicVariables=1

[cDummy2]
Measure=CALC
Formula=1
UpdateDivider=-1

[MtTempPointer]
Meter=Rotator
MeasureName=cDummy2
X=(#RPX#+46)
Y=(#RPY#+222)
W=70
H=70
ImageName=#@#images\weather\ptt.png
OffsetX=35
OffsetY=35
StartAngle=4.08
RotationAngle=4.437
Antialias=1
DynamicVariables=1

[MtTempToolTip]
Meter=IMAGE
X=(#RPX#+40 )
Y=(#RPY#+230)
W=70
H=70
ToolTipIcon=#@#Icons\Thermometer.ico
ToolTipType=1
ToolTipTitle=Temperature
ToolTipText = "[mTempNow][mTempUnits] that feels like [mFeelsLike][mTempUnits]"
DynamicVariables=1
Group=Now
Hidden=1

;===  [ Forecasts ]  ================
[MtBackground2]
Meter=IMAGE
ImageName=#@#images\weather\wbf.png
LeftMouseUpAction=#5dayForecast#
ToolTipText=Five-day Forecast
UpdateDivider=-1
Group=Forecast
Hidden=1

[MtTitle]
Meter=STRING
MeterStyle= sText
FontSize=10
FontColor=301c07
X=(#FIconX#+6)
Y=13
Text=72-Hour Forecast
UpdateDivider=-1
Group=Forecast
Hidden=1

;===  [ Today / Tonight Forecasts ]  ==================================
[DayIcon]
Meter=IMAGE
Path=#WeatherIcons#
MeasureName=mTodayIcon
X=(#FIconX#+4)
Y=(#F1Y#+42)
H=#IconSize#
W=#IconSize#
AntiAlias=1
Group=Today
Hidden=1

[DayDescription]
Meter=STRING
MeasureName=mTodayDescription
MeterStyle= sText
FontSize=10
FontColor=301c07
X=(#FIconX#-10)
Y=(#F1Y#+22)
W=192
H=18
ClipString=1
Text="Today - %1"
Group=Today
Hidden=1

[DayTempText]
Meter=STRING
MeasureName=mHighToday
MeasureName2=mTempUnits
MeterStyle= sText
X=#FX1#
Y=(#F1Y#+45)
Text="High: %1%2"
Group=Today
Hidden=1

[DayRain]
MeasureName=mTodayRain
Meter=STRING
MeterStyle= sText
X=(#FX1#+2)
Y=#Yspace#r
Text="Rain:  %1%"
Group=Today
Hidden=1

[DayWindDirection]
Meter=STRING
MeasureName=mDayWindDirection
MeterStyle= sText
X=(#FX1#+4)
Y=#Yspace#r
Text="Wind:  %1"
Group=Today
Hidden=1

[DayWindSpeed]
Meter=STRING
MeterStyle= sText
X=(#FX1#+6)
Y=#Yspace#r
Text="......."
Group=Today
Hidden=1

;=== [ Forecast Tonight ]  ===============
[NightIcon]
Path=#WeatherIcons#
MeasureName=mTonightIcon
Meter=IMAGE
X=(#FIconX#+4)
Y=(#F1Y#+42)
H=#IconSize#
W=#IconSize#
AntiAlias=1
Group=Tonight
Hidden=1

[TonightDescription]
Meter=STRING
MeasureName=mTonightDescription
MeterStyle= sText
FontSize=10
FontColor=301c07
X=(#FIconX#-10)
Y=(#F1Y#+22)
W=192
H=18
ClipString=1
Text="Tonight - %1"
Group=Tonight
Hidden=1

[NightTempText]
Meter=STRING
MeasureName=mLowTonight
MeasureName2=mTempUnits
MeterStyle= sText
X=#FX1#
Y=(#F1Y#+45)
Text="Low: %1%2"
Group=Tonight
Hidden=1

[NightRain]
MeasureName=mTonightRain
Meter=STRING
MeterStyle= sText
X=(#FX1#+2)
Y=#Yspace#r
Text="Rain:  %1%"
Group=Tonight
Hidden=1

[NightWindDirection]
Meter=STRING
MeasureName = mTonightWindDirection
MeterStyle= sText
X=(#FX1#+4)
Y=#Yspace#r
Text="Wind:  %1"
Group=Tonight
Hidden=1

[NightWindSpeed]
Meter=STRING
MeterStyle= sText
X=(#FX1#+6)
Y=#Yspace#r
Text="Puffle Puff"
Group=Tonight
Hidden=1

;=== [ Tomorrow ] ==================
[TomorrowIcon]
Path=#WeatherIcons#
MeasureName=mTomorrowIcon
Meter=IMAGE
X=(#FIconX#+2)
Y=(#F2Y#+42)
H=#IconSize#
W=#IconSize#
AntiAlias=1
Group=Forecast
Hidden=1

[TomorrowDescription]
Meter=STRING
MeasureName=mDayTomorrow
MeasureName2=mDescriptionTomorrow
MeterStyle= sText
FontSize=10
FontColor=301c07
X=(#FIconX#-18)
Y=(#F2Y#+22)
W=209
H=18
ClipString=1
Text="%1 - %2"
Group=Forecast
Hidden=1

[TomorrowTemp]
Meter=STRING
MeasureName=mHighTomorrow
MeasureName2=mLowTomorrow
MeasureName3=mTempUnits
MeterStyle= sText
X=(#FX1#+8)
Y=(#F2Y#+45)
Text="Temp: %2-%1%3"
Group=Forecast
Hidden=1

[TomorrowRain]
MeasureName=mRainTomorrow
Meter=STRING
MeterStyle= sText
X=(#FX1#+10)
Y=#Yspace#r
Text="Rain:  %1%"
Group=Forecast
Hidden=1

[TomorrowWindDirection]
Meter=STRING
MeasureName=mWindDirectionTomorrow
MeterStyle= sText
X=(#FX1#+12)
Y=#Yspace#r
Text="Wind:  %1"
Group=Forecast
Hidden=1

[TomorrowWindSpeed]
Meter=STRING
MeterStyle= sText
X=(#FX1#+14)
Y=#Yspace#r
Text="I'll huff and I'll puff"
Group=Forecast
Hidden=1

;=== [ Day After Tomorrow ]
[AfterIcon]
Meter=IMAGE
Path=#WeatherIcons#
MeasureName=mIconAfter
X=(#FIconX#)
Y=(#F3Y#+42)
H=#IconSize#
W=#IconSize#
AntiAlias=1
Group=Forecast
Hidden=1

[AfterDescription]
Meter=STRING
MeasureName=mDayAfterTomorrow
MeasureName2=mDescriptionAfter
MeterStyle= sText
FontSize=10
FontColor=301c07
W=221
H=18
ClipString=1
X=(#FIconX#-27)
Y=(#F3Y#+22)
Text="%1 - %2"
Group=Forecast
Hidden=1

[AfterTempText]
Meter=STRING
MeterStyle= sText
MeasureName=mHighAfter
MeasureName2=mLowAfter
MeasureName3=mTempUnits
X=(#FX1#+14)
Y=(#F3Y#+45)
Text="Temp: %2-%1%3"
Group=Forecast
Hidden=1

[AfterRain]
MeasureName=mRainAfter
Meter=STRING
MeterStyle= sText
X=(#FX1#+16)
Y=#Yspace#r
Text="Rain:  %1%"
Group=Forecast
Hidden=1

[AfterWindDirection]
Meter=STRING
MeasureName=mWindDirectionAfter
MeterStyle= sText
X=(#FX1#+18)
Y=#Yspace#r
Text="Wind:  %1"
Group=Forecast
Hidden=1

[AfterWindSpeed]
Meter=STRING
MeterStyle= sText
X=(#FX1#+20)
Y=#Yspace#r
Text="Unknown speed"
Group=Forecast
Hidden=1
;------------
[MtCloseForecast]
Meter=IMAGE
ImageName=#@#Icons\x.png
X=(#PanelWidth#-70)
Y=(#F1Y#)
AntiAlias=1
LeftMouseUpAction=[!HideMeterGroup Today ] [!HideMeterGroup Tonight ] [!HideMeterGroup Forecast][!Redraw]
ToolTipText="Close"
Group=Forecast
Hidden=1
UpdateDivider=-1

User avatar
jsmorley
Developer
Posts: 19462
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: How to make weather work

jsmorley » August 6th, 2019, 12:31 pm

Can you post a link to where you got that skin?
User avatar
balala
Rainmeter Sage
Posts: 8626
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: How to make weather work

balala » August 6th, 2019, 3:40 pm

Would be interesting to know if you have anything else beside the code? I suppose you have. Have you downloaded it somewhere? If you did, as jsmorley said, a link would be useful for us. If you found the code itself, without anything else, will be hard to get it to work, because it has some included files, which we don't know how are they looking.
So, further information required.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3543
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How to make weather work

eclectic-tech » August 6th, 2019, 6:37 pm

jsmorley wrote:
August 6th, 2019, 12:31 pm
Can you post a link to where you got that skin?
It was written by Mordasius... God help us, it is going to be full-on Steam Punk! ;-)
Mythx
Posts: 2
Joined: August 6th, 2019, 12:23 pm

Re: How to make weather work

Mythx » August 6th, 2019, 9:23 pm

jsmorley wrote:
August 6th, 2019, 12:31 pm
Can you post a link to where you got that skin?
https://www.deviantart.com/mordasius/art/BB-B-Steampunk-for-Rainmeter-333162200
sorry for the slow reply i have an awful sleep schedule
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3543
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How to make weather work

eclectic-tech » August 6th, 2019, 10:51 pm

Mythx wrote:
August 6th, 2019, 9:23 pm
https://www.deviantart.com/mordasius/art/BB-B-Steampunk-for-Rainmeter-333162200
sorry for the slow reply i have an awful sleep schedule
Open the "BB&B\SkinLauncher\skinlauncher.ini" skin. You will see 6 icons.
bb&bsettings.png
Click the furthest right icon, "Settings". This will open "UserVariables.inc" in your text editor.

Find the line "WeatherCode=NOXX0029" and replace the code after the equal sign with your location code.
Save the file and refresh Rainmeter.

You can find your code by browsing to https://weather.codes/ and searching your city, region.
You do not have the required permissions to view the files attached to this post.