Thanks, I copied the code from the screen into a new Notepad++ file. The problem was the default for a new file is UTF-8, one I'll remember.
I'll have a think on which way to go.
It is currently October 14th, 2024, 10:02 pm
Showing more info on weather skins
-
- Posts: 62
- Joined: March 30th, 2016, 5:02 pm
-
- Rainmeter Sage
- Posts: 16658
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Showing more info on weather skins
About file encoding: https://forum.rainmeter.net/viewtopic.php?f=5&t=33243&p=165012#p165012TallShultzy wrote: ↑July 3rd, 2020, 12:06 pm The problem was the default for a new file is UTF-8, one I'll remember.
I'll have a think on which way to go.
-
- Rainmeter Sage
- Posts: 8465
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Showing more info on weather skins
Aother idea - something like this: This is obviously photoshopped and entirely text, but one can, of course, replace the < and > with some better looking Unicode characters having a similar meaning or even images / icons. The behavior in this sample would be that when pressing < or > from the Forecast Period line, the meters below that line would scroll / slide horizontally in a small container, depending on direction. Then, when hovering over the same area as before (i.e. either the day name or the entire area below the Forecast Period line) the currently chosen forecast period will slid into the rounded rectangle above, just like before.TallShultzy wrote: ↑July 3rd, 2020, 12:06 pm Thanks, I copied the code from the screen into a new Notepad++ file. The problem was the default for a new file is UTF-8, one I'll remember.
I'll have a think on which way to go.
In this scenario, of course, the 5 meters below the Forecast Period line would have to be replicated around 14 times and added to the small container I mentioned above (or, if the smoothness of the horizontal scrolling / sliding is not critical, no replication would be needed and the meters will just be updated dynamically on < or > pressing, possibly using a short fade out / fade in effect to sweeten things visually) and no other modification other than adding the MeasureName change bangs on hover I talked about earlier would be required. Naturally, the new values for the MeasureName-s would contain the properly updated (based on the chosen forecast period) day and daypart index / ID variables.
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 8465
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Showing more info on weather skins
I have this thing with the ideas I got - can't help but make them come to life... Therefore:
Code:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
SkinWidth=170
SkinHeight=353
BackGroundMode=2
SolidColor=255,0,0,0
MiddleMouseUpAction=[!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
[Variables]
@Include1=#@#GeneralVariables.inc
@Include2=#@#WeatherComJSONVariables.inc
@Include3=#@#WeatherComJSONMeasures.inc
@Include4=#@#WeatherComJSONLanguage.inc
Red=255,0,0,0
PopOutColor=255,128,0,255
PopOutColorLight=255,160,0,255
Offset=0
Offset2=0
U=[!UpdateMeasure "MeasureSlideInOut"][!UpdateMeter *][!Redraw]
U2=[!UpdateMeasure "MeasureSlideInOut2"][!UpdateMeter *][!Redraw]
Moment=3
TempDesc=High
TempDesc2=Low
; This skin doesn't use these
; They are here so you can see them in About / Skins
;@Include5=#@#WeatherComJSONAlerts.inc
;@Include6=#@#WeatherComJSONMoon.inc
[MeasureDayID]
Group=MomentGroup
Measure=Calc
Formula=(Trunc((#Moment#+1)/2))
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^(.*)$":"Day\1","^Day1$":"Today"
DynamicVariables=1
[MeasureDayPartID]
Group=MomentGroup
Measure=Calc
Formula=(Trunc((#Moment#+1)%2))
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^0$":"Day","^1$":"Night"
IfCondition=(MeasureDayPartID=0)
IfTrueAction=[!SetVariable TempDesc "High"]
IfFalseAction=[!SetVariable TempDesc "Low"]
IfConditionMode=1
DynamicVariables=1
[MeasureDayID2]
Group=MomentGroup
Measure=Calc
Formula=(Trunc(((30+(#Moment#-1)+1)%30+2)/2))
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^(.*)$":"Day\1","^Day1$":"Today"
DynamicVariables=1
[MeasureDayPartID2]
Group=MomentGroup
Measure=Calc
Formula=(Trunc(((30+(#Moment#-1)+1)%30+2)%2))
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^0$":"Day","^1$":"Night"
IfCondition=(MeasureDayPartID2=0)
IfTrueAction=[!SetVariable TempDesc2 "High"]
IfFalseAction=[!SetVariable TempDesc2 "Low"]
IfConditionMode=1
DynamicVariables=1
[MeterContainerVisible]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,206,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=0
Y=0
W=170
H=213
[MeterContainer]
Meter=Shape
; 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.
Shape=Rectangle 15.5,0.5,139,206 | Fill Color #BackgroundColor1# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=r
Y=r
W=170
H=213
[MeterContainerVisible2]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,140,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=0
Y=208
W=170
H=155
[MeterContainer2]
Meter=Shape
Shape=Rectangle 15.5,0.5,139,55 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=r
Y=85r
W=170
H=155
MouseOverAction=[!CommandMeasure MeasureSlideInOut "Stop 2"][!CommandMeasure MeasureSlideInOut "Execute 1"]
MouseLeaveAction=[!CommandMeasure MeasureSlideInOut "Stop 1"][!CommandMeasure MeasureSlideInOut "Execute 2"]
[MeasureSlideInOut]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat SlideIn, 60, 12 | Wait 10
SlideIn=[!SetVariable OffSet "(Clamp(#OffSet#-15,-165,0))"]#U#
ActionList2=Repeat SlideOut, 60, 12 | Wait 10
SlideOut=[!SetVariable OffSet "(Clamp(#OffSet#+15,-165,0))"]#U#
IgnoreWarnings=1
DynamicVariables=1
[MeasureSlideInOut2]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat SlideIn, 30, 12 | Wait 10 | UpdateIn | Wait 10
SlideIn=[!SetVariable OffSet2 "(Clamp(#OffSet2#-15,-165,0))"]#U2#
UpdateIn=[!SetVariable Moment ((30+(#Moment#-1)+1)%30+1)][!SetVariable OffSet2 0][!UpdateMeasureGroup "MomentGroup"]#U2#
ActionList2=UpdateOut | Wait 10 | Repeat SlideOut, 30, 12 | Wait 10
SlideOut=[!SetVariable OffSet2 "(Clamp(#OffSet2#+15,-165,0))"]#U2#
UpdateOut=[!SetVariable Moment ((30+(#Moment#-1)-1)%30+1)][!SetVariable OffSet2 -165][!UpdateMeasureGroup "MomentGroup"]#U2#
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]
; =======================================
; Meters
; =======================================
[MeterCurrentIcon]
Meter=Image
Group=Meters
MeasureName=@CurrentIcon
W=135
X=(#Offset#+5)
Y=-8
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
ImageAlpha=#IconAlpha#
AntiAlias=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=3
FontFace=#TextFont#
FontSize=34
FontWeight=300
FontColor=#ValueColor#
StringCase=Upper
StringAlign=Right
AntiAlias=1
Text=%1#Degrees#%2
DynamicVariables=1
Container=MeterContainer
[MeterCurrentConditions]
Meter=String
Group=Meters
MeasureName=@CurrentConditions
X=(#Offset#+154)
Y=-8R
W=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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=139
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
W=60
X=13
Y=205
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
[MeterTodayName]
Meter=String
Group=Meters
X=154
Y=6r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
[MeterTodayHighLow]
Meter=String
Group=Meters
MeasureName2=@ForeCastTodayNightTemperature
X=154
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=-2R
W=139
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=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
[MeterForecastPeriodLeft]
Meter=String
Group=Meters
X=15
Y=26r
FontFace=#TextFont#
FontSize=11
FontWeight=700
FontColor=#LabelColor#
StringAlign=Left
AntiAlias=1
ClipString=1
Text=⮜
MouseOverAction=[!SetOption MeterForecastPeriodLeft FontColor #PopOutColor#][!UpdateMeter MeterForecastPeriodLeft][!Redraw]
MouseLeaveAction=[!SetOption MeterForecastPeriodLeft FontColor #LabelColor#][!UpdateMeter MeterForecastPeriodLeft][!Redraw]
LeftMouseDownAction=[!SetOption MeterForecastPeriodLeft FontColor #PopOutColorLight#][!UpdateMeter MeterForecastPeriodLeft][!Redraw]
LeftMouseUpAction=[!SetOption MeterForecastPeriodLeft FontColor #PopOutColor#][!UpdateMeter MeterForecastPeriodLeft][!Redraw][!CommandMeasure MeasureSlideInOut2 "Stop 1"][!CommandMeasure MeasureSlideInOut2 "Execute 2"]
[MeterForecastPeriodCenter]
Meter=String
Group=Meters
X=84
Y=2r
W=105
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Center
AntiAlias=1
ClipString=1
Text=Forecast Period
MouseScrollUpAction=[!CommandMeasure MeasureSlideInOut2 "Stop 1"][!CommandMeasure MeasureSlideInOut2 "Execute 2"]
MouseScrollDownAction=[!CommandMeasure MeasureSlideInOut2 "Stop 2"][!CommandMeasure MeasureSlideInOut2 "Execute 1"]
DynamicVariables=1
[MeterForecastPeriodRight]
Meter=String
Group=Meters
X=154
Y=-2r
FontFace=#TextFont#
FontSize=11
FontWeight=700
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=⮞
MouseOverAction=[!SetOption MeterForecastPeriodRight FontColor #PopOutColor#][!UpdateMeter MeterForecastPeriodRight][!Redraw]
MouseLeaveAction=[!SetOption MeterForecastPeriodRight FontColor #LabelColor#][!UpdateMeter MeterForecastPeriodRight][!Redraw]
LeftMouseDownAction=[!SetOption MeterForecastPeriodRight FontColor #PopOutColorLight#][!UpdateMeter MeterForecastPeriodRight][!Redraw]
LeftMouseUpAction=[!SetOption MeterForecastPeriodRight FontColor #PopOutColor#][!UpdateMeter MeterForecastPeriodRight][!Redraw][!CommandMeasure MeasureSlideInOut2 "Stop 2"][!CommandMeasure MeasureSlideInOut2 "Execute 1"]
[MeterTomorrowIcon]
Meter=Image
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]Icon
X=(#Offset2#+13)
Y=-4
W=60
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowName]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayLong
MeasureName2=@Forecast[MeasureDayID][MeasureDayPartID]Letter
X=(#Offset2#+154)
Y=8r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
Text=%1 (%2)
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowHighLow]
Meter=String
Group=Meters
;MeasureName=@Forecast[MeasureDayID]DayTemperature
;MeasureName2=@Forecast[MeasureDayID]NightTemperature
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]Temperature
MeasureName2=@UnitsTemperature
X=(#Offset2#+154)
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
;Text=%1#Degrees# | %2#Degrees#
Text=#TempDesc#: %1#Degrees#%2
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowPrecipitationLabel]
Meter=String
Group=Meters
X=(#Offset2#+116)
Y=-2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowPrecipitation]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]PrecipitationPercent
X=(#Offset2#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowIcon2]
Meter=Image
Group=Meters
MeasureName=@Forecast[MeasureDayID2][MeasureDayPartID2]Icon
X=(165+#Offset2#+13)
Y=-4
W=60
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowName2]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID2]DayLong
MeasureName2=@Forecast[MeasureDayID2][MeasureDayPartID2]Letter
X=(165+#Offset2#+154)
Y=8r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
Text=%1 (%2)
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowHighLow2]
Meter=String
Group=Meters
;MeasureName=@Forecast[MeasureDayID2]DayTemperature
;MeasureName2=@Forecast[MeasureDayID2]NightTemperature
MeasureName=@Forecast[MeasureDayID2][MeasureDayPartID2]Temperature
MeasureName2=@UnitsTemperature
X=(165+#Offset2#+154)
Y=16r
W=135
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
;Text=%1#Degrees# | %2#Degrees#
Text=#TempDesc2#: %1#Degrees#%2
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowPrecipitationLabel2]
Meter=String
Group=Meters
X=(165+#Offset2#+116)
Y=-2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=↓↓
DynamicVariables=1
Container=MeterContainer2
[MeterTomorrowPrecipitation2]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID2][MeasureDayPartID2]PrecipitationPercent
X=(165+#Offset2#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer2
[MeterForecastDayDayIcon]
Meter=Image
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]Icon
W=135
X=(165+#Offset#+5)
Y=-8
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
ImageAlpha=#IconAlpha#
AntiAlias=1
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayTemp]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]Temperature
MeasureName2=@UnitsTemperature
X=(165+#Offset#+154)
Y=3
FontFace=#TextFont#
FontSize=34
FontWeight=300
FontColor=#ValueColor#
StringCase=Upper
StringAlign=Right
AntiAlias=1
Text=%1#Degrees#%2
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayConditions]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]Conditions
X=(165+#Offset#+154)
Y=-8R
W=139
H=20
FontFace=#TextFont#
FontSize=13
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayCloudPercentLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=3R
W=139
H=15
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#CloudPercent#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayCloudPercent]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]CloudPercent
X=(165+#Offset#+154)
Y=0r
W=139
H=15
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayHumidityLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#Humidity#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayHumidity]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]Humidity
X=(165+#Offset#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayWindLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
Text=#Wind#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayWind]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]WindSpeed
MeasureName2=@UnitsSpeed
X=(165+#Offset#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1 %2
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayPrecipitationPercentLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#PrecipitationPercent#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayPrecipitationPercent]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]PrecipitationPercent
X=(165+#Offset#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1%
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayPrecipitationTypeLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
Text=#PrecipitationType#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDayDayPrecipitationType]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID][MeasureDayPartID]PrecipitationType
X=(165+#Offset#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringAlign=Right
StringCase=Proper
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer
[MeterForecastDaySunRiseLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
StringCase=Proper
Text=#Sunrise#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDaySunRise]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]SunriseTime
X=(165+#Offset#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringCase=Lower
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer
[MeterForecastDaySunsetLabel]
Meter=String
Group=Meters
X=(165+#Offset#+15)
Y=2R
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
AntiAlias=1
ClipString=1
StringCase=Proper
Text=#Sunset#
DynamicVariables=1
Container=MeterContainer
[MeterForecastDaySunSet]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]SunsetTime
X=(165+#Offset#+154)
Y=0r
W=139
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#ValueColor#
StringCase=Lower
StringAlign=Right
AntiAlias=1
ClipString=1
Text=%1
DynamicVariables=1
Container=MeterContainer
Result: This basically allows the user to (endlessly, i.e. when at the end, aka the 15th forecast day's night, starts over) scroll over the Forecact Period text, or go back and forth by clicking the left and right arrows, and when the currently visible day part is hovered, it slides the appropriate info in the big rounded rectangle above. Only two sets of meters were used, for both sliding and scrolling - this is the power of dynamically modifying things instead of replicating hundreds of measures / meters like crazy.
P.S. Too many things to explain about the code, so if anyone has questions, just ask.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 62
- Joined: March 30th, 2016, 5:02 pm
Re: Showing more info on weather skins
Yincognito, that looks very good and it keeps the skin in its original compact form.
One option that doesn't appear in Rainmeter is array manipulation which would make data selection much easier.
One option that doesn't appear in Rainmeter is array manipulation which would make data selection much easier.
-
- Rainmeter Sage
- Posts: 8465
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Showing more info on weather skins
Yeah, that and doing it without adding hundreds of measures / meters were my guidelines when designing the "new format".TallShultzy wrote: ↑July 5th, 2020, 2:38 pmYincognito, that looks very good and it keeps the skin in its original compact form.
Indeed, but you can workaround it by using a combination of dynamically setting options in measures / meters, regex patterns containing quantifiers, dynamic variables and so on, depending on the situation. As a result, you can iterate over n-dimension "array-like" structures without any problems - and the example above is just one way of doing it.TallShultzy wrote: ↑July 5th, 2020, 2:38 pmOne option that doesn't appear in Rainmeter is array manipulation which would make data selection much easier.
-
- Posts: 62
- Joined: March 30th, 2016, 5:02 pm
Re: Showing more info on weather skins
Yincognito, I've tried to incorporate your code into my 7day version but although the slidein/out works with the right data, when hovering over a day the "tomorrow" data is replaced by the hovered day data. I think its to do with the order of redrawing but I can't figure out why.
Also can you explain why you have used "Formula=(Trunc(((30+(#Moment#-1)+1)%30+2)%2))"
If we assume Moment =3(default) then 3-1 =2, +30+1=33, %30 =3 +2=5, %2 =1 is that correct?
If we assume Moment =5 Formula=
Also can you explain why you have used "Formula=(Trunc(((30+(#Moment#-1)+1)%30+2)%2))"
If we assume Moment =3(default) then 3-1 =2, +30+1=33, %30 =3 +2=5, %2 =1 is that correct?
If we assume Moment =5 Formula=
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 4/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
Red=255,0,0,0
PopOutColor=255,128,0,255
Offset=0
U=[!UpdateMeasure "MeasureSlideInOut"][!UpdateMeter *][!Redraw]
PopOutColorLight=255,160,0,255
Offset=0
Offset2=0
U2=[!UpdateMeasure "MeasureSlideInOut2"][!UpdateMeter *][!Redraw]
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=@Forecast[MeasureDayID]DayIcon
X=13
Y=330
; Y=17r
W=60
ImagePath=#ImagePath#\RealisticIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
[MeterDay2Name]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayLong
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 #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"]
[MeterDay2HighLow]
Meter=String
Group=Meters
MeasureName=@Forecast[MeasureDayID]DayTemperature
MeasureName2=@Forecast[MeasureDayID]NightTemperature
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=@Forecast[MeasureDayID]DayPrecipitationPercent
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
;*********************
-
- Rainmeter Sage
- Posts: 8465
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Showing more info on weather skins
Well, trying to directly merge a code designed to do slightly different things into a code doing other things is going to lead to such problems. No, it doesn't have anything to do with the order of redrawing, but with the fact that you let my [MeasureDayID] (which was designed to dynamically change the daypart, in my version) in the MeasureName options from meters that in your current code are expected to show "hardcoded" (i.e. fixed, or static) day data. More specifically, if you replace [MeasureDayID] with Day2 in meters like [MeterDay2...] (and accordingly for the other meters in the bottom rectangle), the issue will be solved. This is because in your version, you only want to dynamically change the data that is hovered in the top rectangle, as for the bottom rectangle hardcoded values appropriate for the meter set in question (i.e. Day2, Day3, etc.) would do just fine.TallShultzy wrote: ↑July 13th, 2020, 12:31 pm Yincognito, I've tried to incorporate your code into my 7day version but although the slidein/out works with the right data, when hovering over a day the "tomorrow" data is replaced by the hovered day data. I think its to do with the order of redrawing but I can't figure out why.
Yes, that is correct. This formula belongs to the "right" part in my bottom rectangle slide "in"/"out" (actually, I should have named it slide left and right, but didn't bothered with names, I was more interested in the functionality), so for the Moment=3 default, this means the left side (i.e. [MeasureDayID] and [MeasureDayPartID]) data is for Day=2, DayPart=0 (meaning the "daytime" of day 2), as per the corresponding formulas. Obviously, the the right side data (i.e. [MeasureDayID2] and [MeasureDayPartID2]) has to be for the next daypart, which is Day=2, DayPart=1 (meaning "nighttime" of day 2), so that when scrolling down (if I recall correctly) over [MeterForecastPeriodCenter] the slide to the left (or slide "in") in [MeasureSlideInOut2] will bring the following daypart into view.TallShultzy wrote: ↑July 13th, 2020, 12:31 pm Also can you explain why you have used "Formula=(Trunc(((30+(#Moment#-1)+1)%30+2)%2))"
If we assume Moment =3(default) then 3-1 =2, +30+1=33, %30 =3 +2=5, %2 =1 is that correct?
-
- Posts: 62
- Joined: March 30th, 2016, 5:02 pm
Re: Showing more info on weather skins
Thanks for the formula info.
What I'm trying to do is cut the amount of coding by replacing the "day" number in [MeasureName=@ForecastDay2Day] in [MeterContainer2] by the number of the day. So by "hovering" over day 5 the info for day 5 will slidein/out of the upper box.
What I'm trying to do is cut the amount of coding by replacing the "day" number in [MeasureName=@ForecastDay2Day] in [MeterContainer2] by the number of the day. So by "hovering" over day 5 the info for day 5 will slidein/out of the upper box.
-
- Rainmeter Sage
- Posts: 8465
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Showing more info on weather skins
Well, that was already done in my version of the code (where only two sets of "daypart" measures / meters were needed, one set for the "left side area", the other for the "right side area", each set distributed between the top and bottom rectangle / container, in a compact way), but then, if you didn't like it or didn't understood my implementation, what can I say?TallShultzy wrote: ↑July 13th, 2020, 4:17 pm Thanks for the formula info.
What I'm trying to do is cut the amount of coding by replacing the "day" number in [MeasureName=@ForecastDay2Day] in [MeterContainer2] by the number of the day. So by "hovering" over day 5 the info for day 5 will slidein/out of the upper box.
There is really no other way of cutting down the amount of coding but the one I posted, if these "classic" slide in / out effects are desired. If they are not, one set is enough, but then you don't have those nice effects that delight the eye, so to speak. What you did in your last implementation was to add another 5 "small sets" of meters in the bottom rectangle / container, which actually increased the amount of coding by 1404 - 1150 = 254 lines.
If you look for other ways of cutting the "coding", unrelated to the functionality, you might want to investigate if you can use MeterStyles in the meters. Unfortunately, the code is a bit chaotic for my taste in that regard, in that sometimes a meter starts at Y=16r, otherwise at Y=-2R (just one example), so it's not really "standardized" or "regulated" in that aspect, and that leads to more work than should be needed to achieve the goal...