Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 904

Help: Rainmeter Skins • Need some help with setting up weather on my weather widget. please!

$
0
0
I been trying to figure out how to set it up on this widget for the weather. Its alice reworked skin. https://visualskins.com/skin/alice-reworked

I seen how to do it with yahoo weather but this one seems to use the weather channel. https://weather.com/weather/today/l/8822a124f3e4c016c884e257451cf8b2af25c25962d7f36d022eb81cfb25b407 and well I'm not sure how to get it to work. the variables in this code is worded differently than the yahoo ones i have seen. please help? Full code of Alice reworked skin in the spoiler. Original code i haven't attempted to touch it xp. :confused:

Code:

[Rainmeter]MiddleMouseUPAction=!RefreshAccurateText=1[Metadata]Author=MordasiusName=WeatherVersion= 220217License=Creative Commons Attribution-Non-commercial-Share Alike 3.0[Variables]@Include=#@#Configs\DefaultVariables.inc@Include2=#@#Configs\CommonStyles.inc@Include3=#@#Configs\UserVariables.inc@Include4=#@#WeatherRegExp.incWeatherIcons=#@#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=3600PanelWidth=304RPX=178RPY=15FIconX=65FX1=146F1Y=16F2Y=115F3Y=218IconSize=60Yspace=16TxtColor=a3a193TxtColor2=cecbbb[sText]FontFace=PuritanFontSize=9FontColor=#TxtColor#AntiAlias=1;;===  [  measures  ]  [MeasureAll]Measure=PluginPlugin=WebParser; URL=http://xml.weather.com/weather/local/#WeatherCode#?cc=*&unit=#Units#&dayf=3URL=http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Units#&dayf=3RegExp=(?siU)^(.*)$FinishAction=[!EnableMeasureGroup Weather] [!ShowMeterGroup Now] [!EnableMeasure mLuaScript] UpdateRate=#UpdateWeather#[mLuaScript]Measure=ScriptScriptFile=Weather.luaDisabled=1;===  [  current measures  ] [Location]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#Location#Group=WeatherDisabled=1[mCityName]Measure=PluginPlugin=WebParserURL=[Location]StringIndex=2Group=WeatherDisabled=1;---[UnitsOfMeasure]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#UnitsOfMeasure#Group=WeatherDisabled=1[mTempUnits]Measure=PluginPlugin=WebParserURL=[UnitsOfMeasure]StringIndex=3Substitute="C":"°C","F":"°F"Group=WeatherDisabled=1[mWindSpeedUnits]Measure=PluginPlugin=WebParserURL=[UnitsOfMeasure]StringIndex=5Group=WeatherDisabled=1;===  [  current measures  ]  [CurrentConditions]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#CurrentConditions#Group=WeatherDisabled=1[mTempNow]Measure=PluginPlugin=WebParserURL=[CurrentConditions]StringIndex=3Group=WeatherDisabled=1[mFeelsLike]Measure=PluginPlugin=WebParserURL=[CurrentConditions]StringIndex=4Group=WeatherDisabled=1[mDescriptionNow]Measure=PluginPlugin=WebParserURL=[CurrentConditions]StringIndex=5Group=WeatherDisabled=1[mIconCurrent]Measure=PluginPlugin=WebParserURL=[CurrentConditions]StringIndex=6Group=WeatherDisabled=1;---[CurrentBarometric]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#CurrentBarometric#Group=WeatherDisabled=1[mPressureNow]Measure=PluginPlugin=WebParserURL=[CurrentBarometric]StringIndex=1Group=WeatherDisabled=1[mPressureChange]Measure=PluginPlugin=WebParserURL=[CurrentBarometric]StringIndex=2Group=WeatherDisabled=1;------[CurrentWind]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#CurrentWind#Group=WeatherDisabled=1[mWindSpeed]Measure=PluginPlugin=WebParserURL=[CurrentWind]StringIndex=1Substitute="N/A":"0","calm":"0"Group=WeatherDisabled=1[mWindAngleNow] Measure=PluginPlugin=WebParserURL=[CurrentWind]StringIndex=3Group=WeatherDisabled=1[mWindDirection]Measure=PluginPlugin=WebParserURL=[CurrentWind]StringIndex=4Group=WeatherDisabled=1;-----[CurrentElements]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#CurrentElements#Group=WeatherDisabled=1[mHumidityNow]Measure=PluginPlugin=WebParserURL=[CurrentElements]StringIndex=1Group=WeatherDisabled=1[mCurrentUV]Measure=PluginPlugin=WebParserURL=[CurrentElements]StringIndex=3Group=WeatherDisabled=1[mUVlevel]Measure=PluginPlugin=WebParserURL=[CurrentElements]StringIndex=4Group=WeatherDisabled=1[DayNightSwitch]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#DayNightSwitch#Group=WeatherDisabled=1[mDayNightSwitcher]Measure=PluginPlugin=WebParserURL=[DayNightSwitch]Substitute="":"N"StringIndex=2Group=WeatherDisabled=1;===  [ Today Forecast ]  [TodayGeneral]Measure=PluginPlugin=WebParserURL=[MeasureAll]RegExp=#TodayGeneral#DynamicVariables=1Group=WeatherDisabled=1[mHighToday]Measure=PluginPlugin=WebParserURL=[TodayGeneral]StringIndex=4Group=WeatherDisabled=1[mLowToday]Measure=PluginPlugin=WebParserURL=[TodayGeneral]StringIndex=5Group=WeatherDisabled=1[TodayConditions]Measure=PluginGroup=WeatherPlugin=WebParserURL=[MeasureAll]RegExp=#TodayConditions#Disabled=1[mTodayIcon]Measure=PluginPlugin=WebParserURL=[TodayConditions]StringIndex=1Group=WeatherDisabled=1[mTodayDescription]Measure=PluginPlugin=WebParserURL=[TodayConditions]StringIndex=2Group=WeatherDisabled=1[TodayWindRain]Measure=PluginGroup=WeatherPlugin=WebParserURL=[MeasureAll]RegExp=#TodayWindRain#Disabled=1[mTodayWindSpeed]Measure=PluginPlugin=WebParserURL=[TodayWindRain]StringIndex=1Substitute="N/A":"0","calm":"0"Group=WeatherDisabled=1[mDayWindDirection]Measure=PluginPlugin=WebParserURL=[TodayWindRain]StringIndex=4Substitute=#WindDirections#Group=WeatherDisabled=1[mTodayRain]Measure=PluginPlugin=WebParserURL=[TodayWindRain]StringIndex=5Group=WeatherDisabled=1;===  [ Tonight Forecast ]  [TonightForecast]Measure=PluginGroup=WeatherPlugin=WebParserURL=[MeasureAll]RegExp=#TonightForecast#Disabled=1[mLowTonight]Measure=PluginPlugin=WebParserURL=[TodayGeneral]StringIndex=5Group=WeatherDisabled=1[mTonightIcon]Measure=PluginPlugin=WebParserURL=[TonightForecast]StringIndex=1Group=WeatherDisabled=1[mTonightDescription]Measure=PluginPlugin=WebParserURL=[TonightForecast]StringIndex=2Group=WeatherDisabled=1[mTonightWindSpeed]Measure=PluginPlugin=WebParserURL=[TonightForecast]StringIndex=3Group=WeatherDisabled=1Substitute="N/A":"0","calm":"0"[mTonightWindDirection]Measure=PluginPlugin=WebParserURL=[TonightForecast]StringIndex=5Group=WeatherDisabled=1Substitute=#WindDirections#[mTonightRain]Measure=PluginPlugin=WebParserURL=[TonightForecast]StringIndex=6Group=WeatherDisabled=1;===  [ Tomorrow ]  [TomorrowForecast]Measure=PluginGroup=WeatherPlugin=WebParserURL=[MeasureAll]RegExp=#TomorrowForecast#Disabled=1[mDayTomorrow]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=1Group=WeatherDisabled=1[mHighTomorrow]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=2Group=WeatherDisabled=1[mLowTomorrow]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=3Group=WeatherDisabled=1[mTomorrowIcon]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=4Group=WeatherDisabled=1[mDescriptionTomorrow]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=5Group=WeatherDisabled=1[mWindSpeedTomorrow]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=6Group=WeatherDisabled=1[mWindDirectionTomorrow] Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=7Group=WeatherDisabled=1[mRainTomorrow]Measure=PluginPlugin=WebParserURL=[TomorrowForecast]StringIndex=8Group=WeatherDisabled=1;=== [ Day After Tomorrow ][DayAfterForecast]Measure=PluginGroup=WeatherPlugin=WebParserURL=[MeasureAll]RegExp=#DayAfterForecast#Disabled=1[mDayAfterTomorrow]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=1Group=WeatherDisabled=1[mHighAfter]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=2Group=WeatherDisabled=1[mLowAfter]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=3Group=WeatherDisabled=1[mIconAfter]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=4Group=WeatherDisabled=1[mDescriptionAfter]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=5Group=WeatherDisabled=1[mWindSpeedAfter]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=6Group=WeatherDisabled=1[mWindDirectionAfter] Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=7Group=WeatherDisabled=1[mRainAfter]Measure=PluginPlugin=WebParserURL=[DayAfterForecast]StringIndex=8Group=WeatherDisabled=1;=== [ meters ]===[MtBackground1]Meter=IMAGEImageName=#@#images\weather\wb10.pngX=(#RPX#-10)Y=(#RPY#-10)UpdateDivider=-1;=== [ Current Weather ][MtCurrentIcon]Meter=IMAGEPath=#WeatherIcons#MeasureName=mIconCurrentX=(#RPX#+66)Y=(#RPY#+72)H=(#IconSize#+4)W=(#IconSize#+4)ToolTipIcon=#@#Images\Weather\Wicons\TWC-L.icoToolTipType=1ToolTipTitle=[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=1DynamicVariables=1Group=Now[MtForecastIcon]Meter=IMAGEPath=#WeatherIcons#MeasureName=mIconCurrentImageTint=ffffffaaMouseOverAction=[!SetOption "#CURRENTSECTION#" ImageTint ffffff] [!UpdateMeter #CURRENTSECTION#] [!Redraw]MouseLeaveAction=[!SetOption "#CURRENTSECTION#" ImageTint ffffffaa] [!UpdateMeter #CURRENTSECTION#] [!Redraw]LeftMouseUpAction=[!ToggleMeterGroup #GroupToShow# ] [!ToggleMeterGroup Forecast] ToolTipType=1ToolTipTitle="Forecast [mTodayDescription]"ToolTipText = "Click for details..."X=(#RPX#+251)Y=(#RPY#+115)H=44W=44DynamicVariables=1Group=NowHidden=1[cSetPressureNow]Measure=CALCFormula=mPressureNowMinValue=942MaxValue=1056[MtBarometer]Meter=ROTATORMeasureName=cSetPressureNowImageName=#@#images\weather\ptb.pngToolTipIcon=#@#Icons\Barometer.icoToolTipType=1ToolTipTitle=BarometerToolTipText="Pressure in mb"X=(#RPX#+163)Y=(#RPY#+172)W=80H=80OffsetX=40OffsetY=40StartAngle=2.0943951RotationAngle=5.23598776Antialias=1DynamicVariables=1Group=NowHidden=1[cSetDirectionNow]Measure=CALCFormula=mWindAngleNowMinValue=0MaxValue=360[MtWindIndicator]Meter=ROTATORMeasureName=cSetDirectionNowImageName=#@#images\weather\ptw.pngToolTipIcon=#@#icons\wind.icoToolTipType=1ToolTipTitle=WindToolTipText="Huffing and puffing"X=(#RPX#+163)Y=(#RPY#+46)W=80H=80OffsetX=40OffsetY=40DynamicVariables=1Group=NowHidden=1[MtTempNow]Meter=STRINGMeasureName=mTempNowMeasureName2=mTempUnitsStringAlign=CENTERStringStyle=BOLDFontFace=CalibriFontSize=8StringEffect=SHADOWFontEffectColor=95939388FontColor=2f1e0aAntiAlias=1W=30H=18X=(#RPX#+82)Y=(#RPY#+228)Text=%1%2DynamicVariables=1Group=NowHidden=1[cDummy1]Measure=CALCFormula=0UpdateDivider=-1[MtFeelsPointer]Meter=RotatorMeasureName=cDummy1X=(#RPX#+46)Y=(#RPY#+177)W=70H=70ImageName=#@#images\weather\ptf.pngOffsetX=35OffsetY=35StartAngle=4.08RotationAngle=4.437Antialias=1DynamicVariables=1[cDummy2]Measure=CALCFormula=1UpdateDivider=-1[MtTempPointer]Meter=RotatorMeasureName=cDummy2X=(#RPX#+46)Y=(#RPY#+177)W=70H=70ImageName=#@#images\weather\ptt.pngOffsetX=35OffsetY=35StartAngle=4.08RotationAngle=4.437Antialias=1DynamicVariables=1[MtTempToolTip]Meter=IMAGEX=(#RPX#+58 )Y=(#RPY#+188)W=60H=70ToolTipIcon=#@#Icons\Thermometer.icoToolTipType=1ToolTipTitle=TemperatureToolTipText = "[mTempNow][mTempUnits] that feels like [mFeelsLike][mTempUnits]"DynamicVariables=1Group=NowHidden=1;===  [ Forecasts ]  ====[MtBackground2]Meter=IMAGEImageName=#@#images\weather\wbf.pngUpdateDivider=-1Group=ForecastHidden=1[MtClick4Forecast]Meter=IMAGEX=10Y=50W=260H=300LeftMouseUpAction=#5dayForecast#ToolTipText="Click for a five-day Forecast#CRLF#from the Weather Channel"UpdateDivider=-1Group=ForecastHidden=1[MtTitle]Meter=STRINGMeterStyle= sTextFontSize=10FontColor=#TxtColor#X=(#FIconX#+6)Y=18Text=3-Day ForecastUpdateDivider=-1Group=ForecastHidden=1;===  [ Today / Tonight Forecasts ]  ====[DayIcon]Meter=IMAGEPath=#WeatherIcons#MeasureName=mTodayIconX=(#FIconX#+9)Y=(#F1Y#+47)H=#IconSize#W=#IconSize#AntiAlias=1Group=TodayHidden=1[DayDescription]Meter=STRINGMeasureName=mTodayDescriptionMeterStyle= sTextFontSize=10FontColor=#TxtColor2#X=(#FIconX#-10)Y=(#F1Y#+22)W=192H=18ClipString=1Text="Today - %1"Group=TodayHidden=1[DayTempText]Meter=STRINGMeasureName=mHighTodayMeasureName2=mTempUnitsMeterStyle= sTextX=#FX1#Y=(#F1Y#+45)Text="High: %1%2"Group=TodayHidden=1[DayRain]MeasureName=mTodayRainMeter=STRINGMeterStyle= sTextX=(#FX1#+2)Y=#Yspace#rText="Rain:  %1%"Group=TodayHidden=1[DayWindDirection]Meter=STRINGMeasureName=mDayWindDirectionMeterStyle= sTextX=(#FX1#+4)Y=#Yspace#rText="Wind:  %1"Group=TodayHidden=1[DayWindSpeed]Meter=STRINGMeterStyle= sTextX=(#FX1#+6)Y=#Yspace#rText="......."Group=TodayHidden=1;=== [ Forecast Tonight ]  ===[NightIcon]Path=#WeatherIcons#MeasureName=mTonightIconMeter=IMAGEX=(#FIconX#+9)Y=(#F1Y#+47)H=#IconSize#W=#IconSize#AntiAlias=1Group=TonightHidden=1[TonightDescription]Meter=STRINGMeasureName=mTonightDescriptionMeterStyle= sTextFontSize=10FontColor=#TxtColor2#X=(#FIconX#-10)Y=(#F1Y#+22)W=192H=18ClipString=1Text="Tonight - %1"Group=TonightHidden=1[NightTempText]Meter=STRINGMeasureName=mLowTonightMeasureName2=mTempUnitsMeterStyle= sTextX=#FX1#Y=(#F1Y#+45)Text="Low: %1%2"Group=TonightHidden=1[NightRain]MeasureName=mTonightRainMeter=STRINGMeterStyle= sTextX=(#FX1#+2)Y=#Yspace#rText="Rain:  %1%"Group=TonightHidden=1[NightWindDirection]Meter=STRINGMeasureName = mTonightWindDirectionMeterStyle= sTextX=(#FX1#+4)Y=#Yspace#rText="Wind:  %1"Group=TonightHidden=1[NightWindSpeed]Meter=STRINGMeterStyle= sTextX=(#FX1#+6)Y=#Yspace#rText="Puffle Puff"Group=TonightHidden=1;=== [ Tomorrow ] ===========[TomorrowIcon]Path=#WeatherIcons#MeasureName=mTomorrowIconMeter=IMAGEX=(#FIconX#+7)Y=(#F2Y#+49)H=#IconSize#W=#IconSize#AntiAlias=1Group=ForecastHidden=1[TomorrowDescription]Meter=STRINGMeasureName=mDayTomorrowMeasureName2=mDescriptionTomorrowMeterStyle= sTextFontSize=10FontColor=#TxtColor2#X=(#FIconX#-18)Y=(#F2Y#+22)W=209H=18ClipString=1Text="%1 - %2"Group=ForecastHidden=1[TomorrowTemp]Meter=STRINGMeasureName=mHighTomorrowMeasureName2=mLowTomorrowMeasureName3=mTempUnitsMeterStyle= sTextX=(#FX1#+8)Y=(#F2Y#+45)Text="Temp: %2-%1%3"Group=ForecastHidden=1[TomorrowRain]MeasureName=mRainTomorrowMeter=STRINGMeterStyle= sTextX=(#FX1#+10)Y=#Yspace#rText="Rain:  %1%"Group=ForecastHidden=1[TomorrowWindDirection]Meter=STRINGMeasureName=mWindDirectionTomorrowMeterStyle= sTextX=(#FX1#+12)Y=#Yspace#rText="Wind:  %1"Group=ForecastHidden=1[TomorrowWindSpeed]Meter=STRINGMeterStyle= sTextX=(#FX1#+14)Y=#Yspace#rText="I'll huff and I'll puff"Group=ForecastHidden=1;=== [ Day After Tomorrow ][AfterIcon]Meter=IMAGEPath=#WeatherIcons#MeasureName=mIconAfterX=(#FIconX#+5)Y=(#F3Y#+47)H=#IconSize#W=#IconSize#AntiAlias=1Group=ForecastHidden=1[AfterDescription]Meter=STRINGMeasureName=mDayAfterTomorrowMeasureName2=mDescriptionAfterMeterStyle= sTextFontSize=10FontColor=#TxtColor2#W=221H=18ClipString=1X=(#FIconX#-27)Y=(#F3Y#+22)Text="%1 - %2"Group=ForecastHidden=1[AfterTempText]Meter=STRINGMeterStyle= sTextMeasureName=mHighAfterMeasureName2=mLowAfterMeasureName3=mTempUnitsX=(#FX1#+14)Y=(#F3Y#+45)Text="Temp: %2-%1%3"Group=ForecastHidden=1[AfterRain]MeasureName=mRainAfterMeter=STRINGMeterStyle= sTextX=(#FX1#+16)Y=#Yspace#rText="Rain:  %1%"Group=ForecastHidden=1[AfterWindDirection]Meter=STRINGMeasureName=mWindDirectionAfterMeterStyle= sTextX=(#FX1#+18)Y=#Yspace#rText="Wind:  %1"Group=ForecastHidden=1[AfterWindSpeed]Meter=STRINGMeterStyle= sTextX=(#FX1#+20)Y=#Yspace#rText="Unknown speed"Group=ForecastHidden=1;------------[MtCloseForecast]Meter=IMAGEX=(#PanelWidth#-70)Y=(#F1Y#)W=18H=18AntiAlias=1LeftMouseUpAction=[!HideMeterGroup Today ] [!HideMeterGroup Tonight ] [!HideMeterGroup Forecast][!Redraw]ToolTipText="Close  Forecast"Group=ForecastHidden=1UpdateDivider=-1

Statistics: Posted by toxicskunky — Today, 3:53 am — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 904

Trending Articles