It is currently September 20th, 2020, 8:08 pm

WeatherNow

Post your work-in-progress and completed skins to share and discuss.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4112
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

WeatherNow

Post by eclectic-tech »

WeatherNow
weatherNow.png
Shows the Current Weather provided from IsItRaining.In Website

Hover to show current temperature and condition
Left-click to show weather details
Scroll to scale

Set location, imperial/metric, and icons from context menu.

Credits
Weather icons from 'Weather And World Time' by ms310 and 'Weather Alternative' by hiphopium.

As always, I may change things in the near future :welcome:
You do not have the required permissions to view the files attached to this post.
ms310
Posts: 224
Joined: April 1st, 2015, 7:16 am

Re: WeatherNow

Post by ms310 »

Very nice! Thanks for sharing!

May I ask what the logview is? I see it enabled when I activate it but it doesn't "appear" to do anything?

Also - leftclick doesn't appear to do anything for me. Click on the top text and this works fine - sorry!

Thanks!
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4112
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: WeatherNow

Post by eclectic-tech »

ms310 wrote: January 24th, 2020, 5:53 am Very nice! Thanks for sharing!
Thanks!
ms310 wrote:May I ask what the logview is? I see it enabled when I activate it but it doesn't "appear" to do anything?
Dagnabit! My omission... :?

The 'LogView' variant doesn't display anything on the screen by design.
I load it and then open the Rainmeter log for referencing the measure names while creating or editing skins.

I inteneded to have it open the '!About' dialog, 'Skins' tab, and shows the measurenames and values for the LogView skin Rainmeter log, but I left out 1 line of code in the [Rainmeter] section...

Add: OnRefreshAction=[!About Skins] to the [Rainmeter] section, save and refresh, to have it automatically show the log on load/refresh.
ms310
Posts: 224
Joined: April 1st, 2015, 7:16 am

Re: WeatherNow

Post by ms310 »

eclectic-tech wrote: January 24th, 2020, 3:11 pm Thanks!


Dagnabit! My omission... :?

The 'LogView' variant doesn't display anything on the screen by design.
I load it and then open the Rainmeter log for referencing the measure names while creating or editing skins.

I inteneded to have it open the '!About' dialog, 'Skins' tab, and shows the measurenames and values for the LogView skin Rainmeter log, but I left out 1 line of code in the [Rainmeter] section...

Add: OnRefreshAction=[!About Skins] to the [Rainmeter] section, save and refresh, to have it automatically show the log on load/refresh.
Ah - I see! I like that! Thanks for sharing!
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4112
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: WeatherNow

Post by eclectic-tech »

Thanks, glad you like it.
User avatar
Hackit
Posts: 80
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: WeatherNow

Post by Hackit »

thats very cool :D , can i use the Left-click to show weather details in my skin?
“Whether you think you can, or you think you can't – you're right”

DeviantArt Profile
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4112
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: WeatherNow

Post by eclectic-tech »

Hackit wrote: March 30th, 2020, 11:13 pm thats very cool :D , can i use the Left-click to show weather details in my skin?
Where can we find your skin? I am sure it can be done, but would need to see what you have already coded...
User avatar
Hackit
Posts: 80
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: WeatherNow

Post by Hackit »

my skin is at deviant art.

heres my code

Code: Select all

[Rainmeter]
Author=HackitZ TDW
Version=2.5
Update=900
DynamicWindowSize=1
AccurateText=1
;------------for testing alignment
;BackgroundMode=2
;white
;SolidColor=255,255,255,255
;gray
;SolidColor=135,135,135,255
;black
;SolidColor=0,0,0,255
;------------------------------end
ContextTitle=Set Location Code
ContextAction=["#@#Variables.inc"]

ContextTitle2=> Location Color
;ContextAction2=["#@#Addons\RainRGB4.exe" "VarName=Location" "FileName=#@#Variables.inc"]
ContextAction2=["#@#Addons\RainRGB4.exe" "VarName=Location" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle3=> Clock Background Color
;ContextAction3=["#@#Addons\RainRGB4.exe" "VarName=ClockBFace" "FileName=#@#Variables.inc"]
ContextAction3=["#@#Addons\RainRGB4.exe" "VarName=ClockBFace" "FileName=#@#Variables.inc" "Alpha=125" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle4=> Clock Color
;ContextAction4=["#@#Addons\RainRGB4.exe" "VarName=ClockFace" "FileName=#@#Variables.inc"]
ContextAction4=["#@#Addons\RainRGB4.exe" "VarName=ClockFace" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle5=> Date Color
;ContextAction5=["#@#Addons\RainRGB4.exe" "VarName=Date" "FileName=#@#Variables.inc"]
ContextAction5=["#@#Addons\RainRGB4.exe" "VarName=Date" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle6=> Current Temp Color
;ContextAction6=["#@#Addons\RainRGB4.exe" "VarName=CurrentTemp" "FileName=#@#Variables.inc"]
ContextAction6=["#@#Addons\RainRGB4.exe" "VarName=CurrentTemp" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle7=> Temp HI/LOW Color
;ContextAction7=["#@#Addons\RainRGB4.exe" "VarName=Temphilow" "FileName=#@#Variables.inc"]
ContextAction7=["#@#Addons\RainRGB4.exe" "VarName=Temphilow" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle8=> Extended Weather
;ContextAction8=["#@#Addons\RainRGB4.exe" "VarName=ExtendedWeather" "FileName=#@#Variables.inc"]
ContextAction8=["#@#Addons\RainRGB4.exe" "VarName=ExtendedWeather" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle9=> Seconds Bar
;ContextAction9=["#@#Addons\RainRGB4.exe" "VarName=SecondsBar" "FileName=#@#Variables.inc"]
ContextAction9=["#@#Addons\RainRGB4.exe" "VarName=SecondsBar" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]

ContextTitle10=> Vertical Line
;ContextAction10=["#@#Addons\RainRGB4.exe" "VarName=VerticalLine" "FileName=#@#Variables.inc"]
ContextAction10=["#@#Addons\RainRGB4.exe" "VarName=VerticalLine" "FileName=#@#Variables.inc" "RefreshConfig=#CURRENTCONFIG#"]


ContextTitle11=Set Imperial Units
ContextAction11=[!WriteKeyValue Variables Language "en-US" "#@#Variables.inc"][!Refresh]
ContextTitle12=Set Metric Units
ContextAction12=[!WriteKeyValue Variables Language "en-GB" "#@#Variables.inc"][!Refresh]

ContextTitle13=> 12hTime
ContextAction13=[!WriteKeyValue Variables Format "%I:%M" "#@#Variables.inc"][!Refresh]
ContextTitle14=> 24hTime
ContextAction14=[!WriteKeyValue Variables Format "%H:%M" "#@#Variables.inc"][!Refresh]

ContextTitle15=Set Transparency 210
ContextAction15=[!SetOption MeterCurrentIcon ImageAlpha 210][!UpdateMeter MeterCurrentIcon][!Redraw][!SetVariable MeterCurrentIcon ImageAlpha Variable 210]
OnCloseAction=[!WriteKeyValue MeterCurrentIcon ImageAlpha "210"][!Refresh]
;ContextAction15=[!WriteKeyValue Variables Format2 "175" "#@#Variables.inc"][!Refresh]

;ContextTitle16=Set Transparency 200
;ContextAction16=[!WriteKeyValue Variables Format3 "200" "#@#Variables.inc"][!Refresh]

;ContextTitle17=Set Transparency 225
;ContextAction17=[!WriteKeyValue Variables Format4 "225" "#@#Variables.inc"][!Refresh]

;ContextTitle18=Set Transparency 255
;ContextAction18=[!WriteKeyValue Variables Format5 "255" "#@#Variables.inc"][!Refresh]

[Variables]
@Include=#@#Variables.inc
@Include1=#@#WeatherComVariables.inc
@Include2=#@#WeatherComRegExp.inc
@Include3=#@#WeatherComCurrent.inc
@Include4=#@#WeatherComForecast.inc
;@Include5=#@#WeatherCom36Hours.inc


[MeasureGotTheData]
Measure=String
String=[@CurrentLocationName]
DynamicVariables=1
IfMatch=^$
IfNotMatchAction=[!HideMeter MeterReticulating][!ShowMeterGroup AllMeters][!Update]

; Overrides a template measure

[NewCurrentTemperatureLow]
Measure=String
Group=Weather
String=[@CurrentTemperatureLow]
DynamicVariables=1
; Note that after some point in the afternoon, there will 
; be NO Low Temperature returned. The High Temperature
; returned will then be the "low" from the current time until
; midnight of the same day.
; This can be tested with: 
IfMatch=^$
IfMatchAction=[!SetOption MeterTodayHighLow Text "Low Tonight %1%2"]
IfNotMatchAction=[!SetOption MeterTodayHighLow Text "%1%2 | %3%4"]

; Meters

[MeterReticulating]
;Measure=String
Meter=String
X=175
Y=80
StringAlign=Center
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255,255
InlineSetting3=Size | 15
InlineSetting4=Weight | 600
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,230
InlineSetting6=GradientColor | 180 | 57,204,79,255 ; 0.0 | 250,247,157,255 ; 1.0
InlinePattern6=GreenToYellow
SolidColor=0,0,0,1
Padding=5,5,5,5
AntiAlias=1
Text=Updating One Sec ...

[MeterCurrentIcon]
Meter=Image
Group=AllMeters
MeasureName=@CurrentIcon
ImagePath=#@#Weathericons\
X=-10
Y=-15
h=225
w=225
StringAlign=left
ImageAlpha=210
;ImageAlpha=#Format2#
;ImageAlpha=#Format3#
;ImageAlpha=#Format4#
;ImageAlpha=#Format5#
;look into changing 210 to #format2#
PreserveAspectRatio=1
AntiAlias=1
Hidden=1

[MeterLocationCurrent]
MeasureName=@CurrentLocationName
Meter=String
Group=AllMeters
X=42
Y=20
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | #Location#
InlineSetting3=Size | 16
InlineSetting4=Weight | 400
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,230
InlineSetting6=Italic
StringAlign=left
AntiAlias=1
ClipString=1
LeftMouseUpAction=!Execute ["https://weather.com/en-CA/weather/today/l/6bcf504ab24cc6ef16b69e94cfb925015f50d46f8aefc9045e9918ac0ed067cf"]
Hidden=1
;--------------------------------time
[MeasureTime]
Measure=Time
Format=#Format#
FontName=Digital

[MeterTimeBack]
MeasureName=MeasureTime
Meter=STRING
Group=AllMeters
X=152
Y=40
InlineSetting=Face | Digital
InlineSetting2=Color | #ClockBFace#
InlineSetting3=Size | 52
StringAlign=left
AntiAlias=1
Text="88:88"
Hidden=1

[MeterTime]
MeasureName=MeasureTime
Meter=STRING
Group=AllMeters
X=r
Y=r
InlineSetting=Face | Digital
InlineSetting2=Color | #ClockFace#
InlineSetting3=Size | 52
InlineSetting4=Shadow | 2 | 2 | 3.5 | 10,10,10,200
InlineSetting5=BORDER
StringAlign=left
AntiAlias=1
Hidden=1

;--------------------------date
[MeasureDate]
Measure=Time
Format=%B %d, %A, %Y.

[MeterDate]
MeasureName=MeasureDate
Meter=STRING
Group=AllMeters
X=460
Y=88
W=260
H=28
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | #Date#
InlineSetting3=Size | 16
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
InlineSetting6=Italic
StringAlign=Right
AntiAlias=1
ClipString=1
Hidden=1

[MeterCurrentTemperature]
Meter=String
Group=AllMeters
MeasureName=@CurrentTemperature
MeasureName2=@CurrentConditions
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
X=460
Y=110
W=220
H=26
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | #CurrentTemp#
InlineSetting3=Size | 14
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
InlineSetting6=Italic
StringAlign=Right
AntiAlias=1
ClipString=1
DynamicVariables=1
Hidden=1
Postfix="°"
Text=%2, %1

Hidden=1

[MeterTodayHighLow]
Meter=String
Group=AllMeters
MeasureName=@CurrentTemperatureHigh
MeasureName2=@CurrentTemperatureHighSymbol
MeasureName3=@CurrentTemperatureLow
MeasureName4=@CurrentTemperatureLowSymbol

X=137
Y=4r
W=200
H=24
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | #Temphilow#
InlineSetting3=Size | 12
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
InlineSetting6=Italic
StringAlign=left
AntiAlias=1
ClipString=1
DynamicVariables=1
Hidden=1

;--------------------------- seconds bar

[MeasureSeconds]
Measure=Time
Format=%S
MaxValue=59

[MeterLine1]
Group=AllMeters
Meter=Image
X=137
Y=137
H=2
W=320
StringAlign=left
SolidColor=68,68,68,200
Hidden=1
 
[MeterSeconds]
MeasureName=MeasureSeconds
Meter=BAR
Group=AllMeters
X=r
Y=r
H=2
W=320
StringAlign=left
BarColor=#SecondsBar#
SolidColor=255,255,255,225
BarOrientation=HORIZONTAL
Hidden=1

;----------------------------------begin-day2
[@ForecastDay2Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=8
IfAboveValue=1
IfAboveAction=[!HideMeter MeterDay2IconNA][!ShowMeter MeterDay2Icon]

[MeterDay2Icon]
Path=#@#Weathericons
MeasureName=@ForecastDay2Icon
Group=AllMeters
Meter=Image
PreserveAspectRatio=1
StringAlign=Left
AntiAlias=1
X=159
Y=130
H=65
W=65
Hidden=1

[MeterTempDay2day]
MeasureName=@ForecastDay2Name
Group=AllMeters
Meter=String
X=139
Y=141
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
UpdateDivider=#Rdiv#
Hidden=1

[MeterTempDay2lowfont]
Group=AllMeters
Meter=String
X=139
Y=156
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 7
InlineSetting4=Weight | 500
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
Text=L -
Hidden=1

[MeterTempDay2]
MeasureName=@ForecastDay2Low
Group=AllMeters
Meter=String
X=13r
Y=-1r
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
UpdateDivider=#Rdiv#
Postfix="°"
Hidden=1

[MeterTempDay2highfont]
Group=AllMeters
Meter=String
X=139
Y=170
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 7
InlineSetting4=Weight | 500
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
Text=H -
Hidden=1

[MeterTempDay2High]
MeasureName=@ForecastDay2High
Group=AllMeters
Meter=String
X=13r
Y=-1r
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
UpdateDivider=#Rdiv#
Postfix="°"
Hidden=1

[MeterLine2]
Group=AllMeters
Meter=BAR
X=247
Y=141
H=28
W=1
StringAlign=left
SolidColor=#VerticalLine#
BarOrientation=VERTICAL
Hidden=1

;----------------------------------begin-day3
[@ForecastDay3Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=18
IfAboveValue=1
IfAboveAction=[!HideMeter MeterDay3IconNA][!ShowMeter MeterDay3Icon]

[MeterDay3Icon]
Path=#@#Weathericons
MeasureName=@ForecastDay3Icon
Group=AllMeters
Meter=Image
PreserveAspectRatio=1
AntiAlias=1
X=272
Y=130
H=65
W=65
Hidden=1

[MeterTempDay3text]
MeasureName=@ForecastDay3Name
Group=AllMeters
Meter=String
X=250
Y=141
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
inline
UpdateDivider=#Rdiv#
Hidden=1

[MeterTempDay3lowfont]
Group=AllMeters
Meter=String
X=250
Y=156
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 7
InlineSetting4=Weight | 500
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
Text=L -
Hidden=1

[MeterTempDay3low]
MeasureName=@ForecastDay3Low
Group=AllMeters
Meter=String
X=13r
Y=-1r
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
inline
UpdateDivider=#Rdiv#
Postfix="°"
Hidden=1

[MeterTempDay3Highfont]
Group=AllMeters
Meter=String
X=250
Y=170
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 7
InlineSetting4=Weight | 500
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
Text=H -
Hidden=1

[MeterTempDay3high]
MeasureName=@ForecastDay3High
Group=AllMeters
Meter=String
X=13r
Y=-1r
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
inline
UpdateDivider=#Rdiv#
Postfix="°"
Hidden=1

[MeterLine3]
Group=AllMeters
Meter=BAR
X=362
Y=141
H=28
W=1
StringAlign=left
SolidColor=#VerticalLine#
BarOrientation=VERTICAL
Hidden=1

;----------------------------------begin-day4
[@ForecastDay4Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=28
IfAboveValue=1
IfAboveAction=[!HideMeter MeterDay4IconNA][!ShowMeter MeterDay4Icon]

[MeterDay4Icon]
Path=#@#Weathericons
MeasureName=@ForecastDay4Icon
Group=AllMeters
Meter=Image
PreserveAspectRatio=1
AntiAlias=1
X=387
Y=130
H=65
W=65
Hidden=1

[MeterTempDay4day]
MeasureName=@ForecastDay4Name
Group=AllMeters
Meter=String
X=365
Y=141
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
UpdateDivider=#Rdiv#
Hidden=1

[MeterTempDay4lowfont]
Group=AllMeters
Meter=String
X=365
Y=156
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 7
InlineSetting4=Weight | 500
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
Text=L -
Hidden=1

[MeterTempDay4low]
MeasureName=@ForecastDay4Low
Group=AllMeters
Meter=String
X=13r
Y=-1r
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
UpdateDivider=#Rdiv#
Postfix="°"
Hidden=1

[MeterTempDay4Highfont]
Group=AllMeters
Meter=String
X=365
Y=168
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 7
InlineSetting4=Weight | 500
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
Text=H -
Hidden=1

[MeterTempDay4High]
MeasureName=@ForecastDay4High
Group=AllMeters
Meter=String
X=13r
Y=-1r
InlineSetting=Face | bahnschrift
InlineSetting2=Color | #ExtendedWeather#
InlineSetting3=Size | 9
InlineSetting4=Weight | 300
InlineSetting5=Shadow | 2 | 2 | 3.5 | 10,10,10,200
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
UpdateDivider=#Rdiv#
Postfix="°"
Hidden=1

“Whether you think you can, or you think you can't – you're right”

DeviantArt Profile
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4112
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: WeatherNow

Post by eclectic-tech »

Here is a sample of how you could add toggled details.

Add this meter as the very last meter in your skin:

Code: Select all

[Details]
Meter=String
Group=Details
Hidden=1
DynamicVariables=1
X=114
Y=48
Padding=10,5,10,5
InlineSetting=Color | #textColor#
InlineSetting2=Size | 9
Text="Weather Now for [@CurrentLocationName]#CRLF#Feels Like: [@CurrentFeelsLike]°  |:|  Dewpoint: [@CurrentDewPoint]°#CRLF#Humidity: [@CurrentHumidity]%  |:|  Wind: [@CurrentWind] [@CurrentWindDirection]#CRLF#Pressure: [@CurrentPressure] ~  [@CurrentPressureChange]#CRLF#"
StringAlign=CenterTop
StringEffect=None
ClipString=2
ClipStringW=440
AntiAlias=1
UpdateDivider=1
LeftMouseUpAction=[!ToggleMeterGroup Details]
SolidColor=0,0,0,192
Then add this line to your [MeterCurrentIcon] section:

Code: Select all

LeftMouseUpAction=[!ToggleMeterGroup Details]
Save and Refresh. Left-click the large weather icon under your city name to show a details popup, left-click again on the popup to hide it.
You can change the style or change what information by changing the 'Text=..." measure names and text in the added [Details] meter.
hackit.gif
You do not have the required permissions to view the files attached to this post.
User avatar
Hackit
Posts: 80
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: WeatherNow

Post by Hackit »

That's awesome, thank you so much. I'll check it out tomorrow after work.
Again thank you so much.
Can I ask you for some help when I start working on it tomorrow?
“Whether you think you can, or you think you can't – you're right”

DeviantArt Profile