It is currently November 30th, 2022, 8:05 am

Showing more info on weather skins

Get help with creating, editing & fixing problems with skins
TallShultzy
Posts: 62
Joined: March 30th, 2016, 5:02 pm

Re: Showing more info on weather skins

Post by TallShultzy »

Yincognito, thanks for the advice it is appreciated. I did understand your coding but the reason I didn't go with your version was I wanted to see the important values for the whole week without scrolling for the information. Yours is a very elegant and compact solution.

I think I've cracked it but I'm not sure whether its the solution you had already offered.
I'll try to make it available for download tomorrow.

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
SkinWidth=170
;*********************
;Change made by TallShultzy, original SkinHeight=423
SkinHeight=680
;*********************
BackGroundMode=2
SolidColor=250,0,0,0
MouseScrollDownAction=[!Refresh #CURRENTCONFIG#]
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=[@LocationName], [@LocationAdminDistrict], [@LocationCountry]
ContextAction=https://www.google.com/maps/search/[@LocationLatitude],[@LocationLongitude]
ContextTitle2=[@CurrentObservationDate]
ContextAction2=[]
ContextTitle3=#ObservedAt# [@CurrentObservationTime] [@LocationTimeZoneAbbreviation]
ContextAction3=[]
ContextTitle4=----
ContextAction4=[]
ContextTitle5=#ChooseLocation#
ContextAction5=[!ActivateConfig "#CURRENTCONFIG#\WeatherComCodes" "WeatherComCodes.ini"]
ContextTitle6=----
ContextAction6=[]
ContextTitle7=#EditLanguageVariables#
ContextAction7=["#@#\WeatherComJSONVariables.inc"]["https://admin.rainmeter.net/LanguageCodes.php"]
ContextTitle8=#EditTranslationVariables#
ContextAction8=["#@#\WeatherComJSONLanguage.inc"]
ContextTitle9=#EditGeneralVariables#
ContextAction9=["#@#\GeneralVariables.inc"]
ContextTitle10=----
ContextAction10=[]
ContextTitle11=#Open@ResourcesFolder#
ContextAction11=["#@#"]
ContextTitle12=----
ContextAction12=[]
ContextTitle13=#MoreActions#
ContextAction13=[!SkinMenu]

[Metadata]
Name=WeatherComJSON
Author=JSMorley | OnyxBlack, Xenium, SilverAzide
; The parsing of the weather.com website in the various @Inlcude .inc files is a collaborative effort of:
; OnyxBlack, Xenium, SilverAzide and myself. All credit to these authors. Thanks!
Information=Uses the Weather.com website V3 JSON data to provide weather information.| - Right-click and select "Choose Location" to set your Location Code. | - Right-click and select "Edit Lanquage Variables" to edit language and date/time defaults. | - Right-click and select "Edit Translation Variables" to translate skin and context menu labels to your language.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=June 5, 2020
; updated 13/7/20 by TallShultzy with mouse over and multiple slidein/out with help from Yincognito and JSMorley

[Variables]
@Include1=#@#GeneralVariables.inc
@Include2=#@#WeatherComJSONVariables.inc
@Include3=#@#WeatherComJSONMeasures7Day.inc
@Include4=#@#WeatherComJSONLanguage.inc
PopOutColor=255,255,0
PopOutColor2=255,128,0,255
Offset=0
U=[!UpdateMeasure "MeasureSlideInOut"][!UpdateMeter *][!Redraw]
Offset=0
Moment=3

[MeasureDayID]
Group=MomentGroup
Measure=Calc
Formula=(Trunc((#Moment#+1)/2))
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^(.*)$":"Day\1","^Day1$":"Today"
DynamicVariables=1

; This skin doesn't use these
; They are here so you can see them in About / Skins

;@Include5=#@#WeatherComJSONAlerts.inc
;@Include6=#@#WeatherComJSONMoon.inc

[MeterContainerVisible]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,260,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=0
Y=0
; W=170
; H=213

[MeterAllBackground2]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,410,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
Y=262

; Meters used as a container will not be drawn. They are used as a "mask".
; Create a copy of them, as above, to make them visible.
[MeterContainer]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,260,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=0
Y=0

[MeterContainer2]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,260,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=0
Y=0

[MeasureSlideInOut]
Measure=Plugin
Plugin=ActionTimer
ActionList1=UpdateIn | Wait 10 | Repeat SlideIn, 60, 12 | Wait 10
SlideIn=[!SetVariable OffSet "(Clamp(#OffSet#-15,-165,0))"]#U#
ActionList2=Repeat SlideOut, 60, 12  | Wait 10 | UpdateOut | Wait 10 
SlideOut=[!SetVariable OffSet "(Clamp(#OffSet#+15,-165,0))"]#U#
IgnoreWarnings=1
DynamicVariables=1

; =======================================
; Overide / Modifiy Measures
; =======================================

[MeasureToggleAtNight]
Measure=String
Group=Weather
String=[@ForecastTodayDayTemperature]
DynamicVariables=1
IfMatch=^$
IfMatchAction=[!SetOption MeterTodayIcon MeasureName "@ForecastTodayNightIcon"][!SetOption MeterTodayName MeasureName "@ForecastTodayNightPart"][!SetOption MeterTodayHighLow MeasureName "@CurrentTemperatureMaxSince7AM"][!SetOption MeterTodayPrecipitation MeasureName "@ForecastTodayNightPrecipitationPercent"][!SetOption MeterTodayHighLow InlineSetting "Color | 160,160,160,255"]
IfNotMatchAction=[!SetOption MeterTodayIcon MeasureName "@ForecastTodayDayIcon"][!SetOption MeterTodayName MeasureName "@ForecastTodayDayPart"][!SetOption MeterTodayHighLow MeasureName "@ForecastTodayDayTemperature"][!SetOption MeterTodayPrecipitation MeasureName "@ForecastTodayDayPrecipitationPercent"][!SetOption MeterTodayHighLow InlineSetting "None"]

[MeasureWindCalm]
Measure=Calc
Formula=[@CurrentWindSpeed]
DynamicVariables=1
IfCondition=MeasureWindCalm = 0
IfTrueAction=[!SetOption MeterCurrentWind Text "#Calm#"]
IfFalseAction=[!SetOption MeterCurrentWind Text "%1 %2"]

; Alerts are a number from 4 (low-informational) to 1 (high-severe)
; I am not reacting to level 4 alerts, but you can if you want.

[MeasureAlerts]
Measure=String
String=[@EntireSiteSuperParent]
DynamicVariables=1
IfMatch="severityCode":
IfNotMatchAction=[!HideMeter MeterAlert][!SetOption MeterAlert ImageName ""]
IfMatch2="severityCode":4
IfMatchAction2=[!HideMeter MeterAlert][!SetOption MeterAlert ImageName ""]
;IfMatchAction2=[!SetOption MeterAlert ImageName "4.png"][!ShowMeter MeterAlert]
IfMatch3="severityCode":3
IfMatchAction3=[!SetOption MeterAlert ImageName "3.png"][!ShowMeter MeterAlert]
IfMatch4="severityCode":2
IfMatchAction4=[!SetOption MeterAlert ImageName "2.png"][!ShowMeter MeterAlert]
IfMatch5="severityCode":1
IfMatchAction5=[!SetOption MeterAlert ImageName "1.png"][!ShowMeter MeterAlert]

;*********************
;Additions made by TallShultzy
;*********************
[MeterCurrentLocationName]
Meter=String
Group=Meters
MeasureName=@LocationName
X=85
Y=10
FontFace=#TextFont#
FontSize=13
FontWeight=400
FontColor=#ValueColor#
StringAlign=Center
AntiAlias=1

[MeterCurrentLocationCountry]
Meter=String
Group=Meters
MeasureName=@LocationCountry
X=85
Y=30
FontFace=#TextFont#
FontSize=13
FontWeight=400
FontColor=#ValueColor#
StringAlign=Center
AntiAlias=1
;*********************
;End of additions made by TallShultzy
;*********************

[MeterCurrentIcon]
Meter=Image
Group=Meters
MeasureName=@CurrentIcon
X=(#Offset#+5)
Y=50
W=135
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
ImageAlpha=#IconAlpha#
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#URLSite#"]
MouseOverAction=[!SetOption MeterCurrentIcon ImageAlpha 255][!UpdateMeter MeterCurrentIcon][!Redraw]
MouseLeaveAction=[!SetOption MeterCurrentIcon ImageAlpha #IconAlpha#][!UpdateMeter MeterCurrentIcon][!Redraw]
DynamicVariables=1
Container=MeterContainer

[MeterAlert]
Meter=Image
X=(#Offset#+10)
Y=7
W=30
H=30
ImagePath=#ImagePath#\Alerts
LeftMouseUpAction=["#URLSite#"]
ToolTipType=1
ToolTipTitle=#AlertsTipTitle#
ToolTipText=#AlertsTipText#
Hidden=1
DynamicVariables=1
Container=MeterContainer

[MeterCurrentTemp]
Meter=String
Group=Meters
MeasureName=@CurrentTemperature
MeasureName2=@UnitsTemperature
X=(#Offset#+154)
Y=53
FontFace=#TextFont#
FontSize=34
FontWeight=300
FontColor=#ValueColor#
StringCase=Upper
StringAlign=Right
AntiAlias=1
DynamicVariables=1
Text=%1#Degrees#%2
DynamicVariables=1
Container=MeterContainer

[MeterCurrentConditions]
Meter=String
Group=Meters
MeasureName=@CurrentConditions
X=(#Offset#+154)
Y=-8R
W=142
H=20
FontFace=#TextFont#
FontSize=13
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
DynamicVariables=1
Container=MeterContainer

[MeterFeelsLikeLabel]
Meter=String
Group=Meters
X=(#Offset#+15)
Y=3R
W=160
H=15
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#FeelsLike#
DynamicVariables=1
Container=MeterContainer

[MeterFeelsLike]
Meter=String
Group=Meters
MeasureName=@CurrentFeelsLike
X=(#Offset#+154)
Y=0r
W=160
H=15
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1#Degrees#
DynamicVariables=1
Container=MeterContainer

[MeterHumidityLabel]
Meter=String
Group=Meters
X=(#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#Humidity#
DynamicVariables=1
Container=MeterContainer

[MeterHumidity]
Meter=String
Group=Meters
MeasureName=@CurrentHumidity
X=(#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer

[MeterWindLabel]
Meter=String
Group=Meters
X=(#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
Text=#Wind#
DynamicVariables=1
Container=MeterContainer

[MeterCurrentWind]
Meter=String
Group=Meters
MeasureName=@CurrentWindSpeed
MeasureName2=@UnitsSpeed
X=(#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
DynamicVariables=1
Container=MeterContainer

[MeterPressureLabel]
Meter=String
Group=Meters
MeasureName=@CurrentPressureText
X=(#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#Pressure#
DynamicVariables=1
Container=MeterContainer

[MeterCurrentPressure]
Meter=String
Group=Meters
MeasureName=@CurrentPressure
MeasureName2=@UnitsPressure
X=(#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1 %2
DynamicVariables=1
Container=MeterContainer

[MeterChangeLabel]
Meter=String
Group=Meters
X=(#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#Change#
DynamicVariables=1
Container=MeterContainer

[MeterCurrentChange]
Meter=String
Group=Meters
MeasureName=@CurrentPressureChangeTrend
X=(#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
StringCase=Proper
AntiAlias=1
ClipString=1
DynamicVariables=1
Container=MeterContainer

[MeterSunRiseLabel]
Meter=String
Group=Meters
X=(#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
StringCase=Proper
Text=#Sunrise#
DynamicVariables=1
Container=MeterContainer

[MeterSunRise]
Meter=String
Group=Meters
MeasureName=@CurrentSunriseTime
X=(#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringCase=Lower
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer

[MeterSunsetLabel]
Meter=String
Group=Meters
X=(#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
StringCase=Proper
Text=#Sunset#
DynamicVariables=1
Container=MeterContainer

[MeterSunSet]
Meter=String
Group=Meters
MeasureName=@CurrentSunsetTime
X=(#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringCase=Lower
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer

[MeterTodayIcon]
Meter=Image
Group=Meters
X=13
Y=270
W=60
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
DynamicVariables=1

[MeterTodayName]
Meter=String
Group=Meters
X=154
Y=270
; Y=6r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1

[MeterTodayHighLow]
Meter=String
Group=Meters
MeasureName2=@ForeCastTodayNightTemperature
X=154
Y=287
; Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
InlinePattern=^(.*) \| .*
Text=%1#Degrees# | %2#Degrees#

[MeterTodayPrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=302
; Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterTodayPrecipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay1PrecipitationPercent
X=154
Y=302
; Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%

[MeterDay2Icon]
Meter=Image
Group=Meters
MeasureName=@ForecastDay2DayIcon
X=13
Y=330
; Y=17r
W=60
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1

[MeterDay2Name]
Meter=String
Group=Meters
MeasureName=@ForecastDay2DayLong
X=154
Y=330
; Y=10r
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #PopOutColor2#][!UpdateMeter Meter[MeasureDayID]Name][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #LabelColor#][!UpdateMeter Meter[MeasureDayID]Name][!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]

[MeterDay2HighLow]
Meter=String
Group=Meters
MeasureName=@ForecastDay2DayTemperature
MeasureName2=@ForecastDay2NightTemperature
X=154
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
Text=%1#Degrees# | %2#Degrees#

[MeterDay2PrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterDay2Precipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay2DayPrecipitationPercent
X=154
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
DynamicVariables=1
Text=%1%

[MeterDay2DayIcon]
Meter=Image
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayIcon
X=(165+#Offset#+5)
Y=50
W=135
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
ImageAlpha=#IconAlpha#
AntiAlias=1
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayTemp]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayTemperature
MeasureName2=@UnitsTemperature
X=(165+#Offset#+154)
Y=53
FontFace=#TextFont#
FontSize=34
FontWeight=300
FontColor=#PopOutColor#
StringCase=Upper
StringAlign=Right
AntiAlias=1
Text=%1#Degrees#%2
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayConditions]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayConditions
X=(165+#Offset#+154)
Y=-8R
W=142
H=20
FontFace=#TextFont#
FontSize=13
FontWeight=400
FontColor=#PopOutColor#
StringAlign=Right
AntiAlias=1
ClipString=1
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayCloudPercentLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=3R
W=160
H=15
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
ClipString=1
Text=#CloudPercent#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayCloudPercent]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayCloudPercent
X=(165+#Offset#+154)
Y=0r
W=160
H=15
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayHumidityLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
ClipString=1
Text=#Humidity#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayHumidity]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayHumidity
X=(165+#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayWindLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
Text=#Wind#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayWind]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayWindSpeed
MeasureName2=@UnitsSpeed
X=(165+#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1 %2
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayPrecipitationPercentLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
ClipString=1
Text=#PrecipitationPercent#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayPrecipitationPercent]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayPrecipitationPercent
X=(165+#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayPrecipitationTypeLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
ClipString=1
Text=#PrecipitationType#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2DayPrecipitationType]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayPrecipitationType
X=(165+#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringAlign=Right
StringCase=Proper
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer2

[MeterDay2SunRiseLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
ClipString=1
StringCase=Proper
Text=#Sunrise#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2SunRise]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]SunriseTime
X=(165+#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringCase=Lower
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer2

[MeterDay2SunsetLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
AntiAlias=1
ClipString=1
StringCase=Proper
Text=#Sunset#
DynamicVariables=1
Container=MeterContainer2

[MeterDay2SunSet]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]SunsetTime
X=(165+#Offset#+154)
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#PopOutColor#
StringCase=Lower
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer2

;*********************
;Change made by TallShultzy, Day 3
;*********************
[MeterDay3Icon]
Meter=Image
Group=Meters
MeasureName=@ForecastDay3DayIcon
X=13
Y=17r
W=60
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1

[MeterDay3Name]
Meter=String
Group=Meters
MeasureName=@ForecastDay3DayLong
; MeasureName=@Forecast[MeasureDayID]DayLong
X=154
Y=8r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!SetVariable Moment 5][!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #PopOutColor#][!UpdateMeter Meter[MeasureDayID]Name][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #LabelColor#][!UpdateMeter Meter[MeasureDayID]Name][!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]
; 
[MeterDay3HighLow]
Meter=String
Group=Meters
MeasureName=@ForecastDay3DayTemperature
MeasureName2=@ForecastDay3NightTemperature
X=154
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
Text=%1#Degrees# | %2#Degrees#

[MeterDay3PrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterDay3Precipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay3DayPrecipitationPercent
X=154
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%

;*********************
;Change made by TallShultzy, Day 4
;*********************

[MeterDay4Icon]
Meter=Image
Group=Meters
MeasureName=@ForecastDay4DayIcon
W=60
X=13
Y=17r
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1

[MeterDay4Name]
Meter=String
Group=Meters
MeasureName=@ForecastDay4DayLong
X=154
Y=8r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!SetVariable Moment 7][!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #PopOutColor#][!UpdateMeter Meter[MeasureDayID]Name][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #LabelColor#][!UpdateMeter Meter[MeasureDayID]Name][!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]

[MeterDay4HighLow]
Meter=String
Group=Meters
MeasureName=@ForecastDay4DayTemperature
MeasureName2=@ForecastDay4NightTemperature
X=154
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
Text=%1#Degrees# | %2#Degrees#

[MeterDay4PrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterDay4Precipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay4DayPrecipitationPercent
X=154
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
;*********************
;Change made by TallShultzy, Day 5
;*********************

[MeterDay5Icon]
Meter=Image
Group=Meters
MeasureName=@ForecastDay5DayIcon
W=60
X=13
Y=17r
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1

[MeterDay5Name]
Meter=String
Group=Meters
MeasureName=@ForecastDay5DayLong
X=154
Y=8r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!SetVariable Moment 9][!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #PopOutColor#][!UpdateMeter Meter[MeasureDayID]Name][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #LabelColor#][!UpdateMeter Meter[MeasureDayID]Name][!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]

[MeterDay5HighLow]
Meter=String
Group=Meters
MeasureName=@ForecastDay5DayTemperature
MeasureName2=@ForecastDay5NightTemperature
X=154
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
Text=%1#Degrees# | %2#Degrees#

[MeterDay5PrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterDay5Precipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay5DayPrecipitationPercent
X=154
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
;*********************
;Change made by TallShultzy, Day 6
;*********************

[MeterDay6Icon]
Meter=Image
Group=Meters
MeasureName=@ForecastDay6DayIcon
W=60
X=13
Y=17r
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1

[MeterDay6Name]
Meter=String
Group=Meters
MeasureName=@ForecastDay6DayLong
X=154
Y=8r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!SetVariable Moment 11][!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #PopOutColor#][!UpdateMeter Meter[MeasureDayID]Name][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #LabelColor#][!UpdateMeter Meter[MeasureDayID]Name][!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]

[MeterDay6HighLow]
Meter=String
Group=Meters
MeasureName=@ForecastDay6DayTemperature
MeasureName2=@ForecastDay6NightTemperature
X=154
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
Text=%1#Degrees# | %2#Degrees#

[MeterDay6PrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterDay6Precipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay6DayPrecipitationPercent
X=154
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
;*********************
;Change made by TallShultzy, Day 7
;*********************

[MeterDay7Icon]
Meter=Image
Group=Meters
MeasureName=@ForecastDay7DayIcon
W=60
X=13
Y=17r
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1

[MeterDay7Name]
Meter=String
Group=Meters
MeasureName=@ForecastDay7DayLong
X=154
Y=8r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!SetVariable Moment 13][!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #PopOutColor#][!UpdateMeter Meter[MeasureDayID]Name][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!UpdateMeasure "MeasureDayID"][!SetOption Meter[MeasureDayID]Name FontColor #LabelColor#][!UpdateMeter Meter[MeasureDayID]Name][!SetVariable Moment 3][!UpdateMeasure "MeasureDayID"][!Redraw][!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]

[MeterDay7HighLow]
Meter=String
Group=Meters
MeasureName=@ForecastDay7DayTemperature
MeasureName2=@ForecastDay7NightTemperature
X=154
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
Text=%1#Degrees# | %2#Degrees#

[MeterDay7PrecipitationLabel]
Meter=String
Group=Meters
X=116
Y=-2R
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓

[MeterDay7Precipitation]
Meter=String
Group=Meters
MeasureName=@ForecastDay7DayPrecipitationPercent
X=154
Y=0r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
;*********************
;End of additions made by TallShultzy
;*********************
User avatar
Yincognito
Rainmeter Sage
Posts: 4817
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Showing more info on weather skins

Post by Yincognito »

TallShultzy wrote: July 13th, 2020, 10:21 pmYincognito, thanks for the advice it is appreciated. I did understand your coding but the reason I didn't go with your version was I wanted to see the important values for the whole week without scrolling for the information. Yours is a very elegant and compact solution.
Oh, I see. Well, in that scenario, it's a fact that if you display more meters in the skin, you'll have more coding to do. I mean, it just comes with the package, really.
TallShultzy wrote: July 13th, 2020, 10:21 pmI think I've cracked it but I'm not sure whether its the solution you had already offered. I'll try to make it available for download tomorrow.
Yes, now it works without any apparent issues, and yes, you correctly replaced the occurences of [MeasureDayID] in the MeasureName of [MeterDayN...], where N goes from 2 to probably 7. :thumbup:
TallShultzy
Posts: 62
Joined: March 30th, 2016, 5:02 pm

Re: Showing more info on weather skins

Post by TallShultzy »

Thanks for all your efforts. I'll put it up today.
User avatar
Yincognito
Rainmeter Sage
Posts: 4817
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Showing more info on weather skins

Post by Yincognito »

TallShultzy wrote: July 14th, 2020, 10:25 am Thanks for all your efforts. I'll put it up today.
No worries - it was my pleasure. ;-)