It is currently April 1st, 2020, 7:04 am

Challange for the PRO

Help with creating, editing & fixing problems with skins
User avatar
JamX
Posts: 108
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

Wow, great work and feature.
The sliding, expanding window look great!
They are shown when you're hovering the mouse over the windspeed of today (the first kts in the list).
I see the window also expands when I hover over the weather icon and the wind vane (symbol), so not only when I hover over the " xx kts"
Also when I hover below the current day and the first forecast, so not on any symbol or value the window appears.

Could you also add a semi transparant background color to the sliding window (container)?
Can the, wind vane/direction symbol, be put closer to the gust value?


I can really appreciate/enjoy this kind of coding. :bow:
User avatar
balala
Rainmeter Sage
Posts: 10023
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote:
October 14th, 2019, 8:39 pm
I see the window also expands when I hover over the weather icon and the wind vane (symbol), so not only when I hover over the " xx kts"
Also when I hover below the current day and the first forecast, so not on any symbol or value the window appears.
No, it slides only when you're hovering the mouse over the shown wind speed, but this meter is a little bit larger then how large it is seen. If you want to see how large it is, replace the SolidColor=0,0,0,1 option of the [MeterWindSpeed] meter with SolidColor=255,0,0,100.
JamX wrote:
October 14th, 2019, 8:39 pm
Could you also add a semi transparant background color to the sliding window (container)?
Add a SolidColor=0,0,0,150 option to the [StringStyle] section. Obviously if you want, you can modify the color as you wish.
JamX wrote:
October 14th, 2019, 8:39 pm
Can the, wind vane/direction symbol, be put closer to the gust value?
Following tomorrow...
User avatar
JamX
Posts: 108
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

No, it slides only when you're hovering the mouse over the shown wind speed, but this meter is a little bit larger then how large it is seen. If you want to see how large it is, replace the SolidColor=0,0,0,1 option of the [MeterWindSpeed] meter with SolidColor=255,0,0,100.
Captur4.JPG
You do not have the required permissions to view the files attached to this post.
dvo
Posts: 696
Joined: February 7th, 2016, 6:08 am

Re: Challange for the PRO

Post by dvo »

give him some air jamx it's a start not a finished version :welcome:
User avatar
JamX
Posts: 108
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

I know but mostly the sooner you "debug", the better. :D

The results are already exceeding my expectations, so I can't wait te see more inspiring work from balala.
dvo
Posts: 696
Joined: February 7th, 2016, 6:08 am

Re: Challange for the PRO

Post by dvo »

it's just a hot spot you can eazy do that in the end of it just altering some meter cosmetics is in the end mostly... first get the things working :D
he's one of the most kind people here he will always do his best for every one and has lots of things to do for every one... :D
User avatar
balala
Rainmeter Sage
Posts: 10023
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote:
October 14th, 2019, 9:11 pm
The results are already exceeding my expectations, so I can't wait te see more inspiring work from balala.
Thanks for the appreciations. Will come with a newer code a little bit later.
dvo wrote:
October 14th, 2019, 9:14 pm
he's one of the most kind people here he will always do his best for every one and has lots of things to do for every one... :D
Same for you too: thanks for the appreciations.
User avatar
balala
Rainmeter Sage
Posts: 10023
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

Next release. This time I don1t package the whole config, because there are only two files I worked with.
So, please replace the code of the @Resources\Wind.inc file with the following one:

Code: Select all

[MeasureWindInfo]
Measure=WebParser
UpdateRate=870
Url=https://www.windfinder.com/forecast/olderplas_ool
RegExp=(?siU)<h4 class="weathertable__headline">(.*)</h4>.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*<h4 class="weathertable__headline">(.*)</h4>.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*<h4 class="weathertable__headline">(.*)</h4>.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#

[MeasureWindInfo4]
Measure=WebParser
UpdateRate=870
Url=https://www.windfinder.com/forecast/olderplas_ool
RegExp=(?siU)<h4 class="weathertable__headline">.*</h4>.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*<h4 class="weathertable__headline">.*</h4>.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*<h4 class="weathertable__headline">.*</h4>.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*#ItemE#.*<h4 class="weathertable__headline">(.*)</h4>.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#.*#Item#

[MeasureDate1]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""
StringIndex=1

[MeasureTime11]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=2

[MeasureWindDirection11]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=3
MinValue=0
MaxValue=360

[MeasureWindSpeed11]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=4

[MeasureWindGusts11]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=5

[MeasureTime12]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=6

[MeasureWindDirection12]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=7
MinValue=0
MaxValue=360

[MeasureWindSpeed12]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=8

[MeasureWindGusts12]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=9

[MeasureTime13]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=10

[MeasureWindDirection13]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=11
MinValue=0
MaxValue=360

[MeasureWindSpeed13]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=12

[MeasureWindGusts13]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=13

[MeasureTime14]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=14

[MeasureWindDirection14]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=15
MinValue=0
MaxValue=360

[MeasureWindSpeed14]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=16

[MeasureWindGusts14]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=17

[MeasureTime15]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=18

[MeasureWindDirection15]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=19
MinValue=0
MaxValue=360

[MeasureWindSpeed15]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=20

[MeasureWindGusts15]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=21

[MeasureTime16]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=22

[MeasureWindDirection16]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=23
MinValue=0
MaxValue=360

[MeasureWindSpeed16]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=24

[MeasureWindGusts16]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=25

[MeasureTime17]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=26

[MeasureWindDirection17]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=27
MinValue=0
MaxValue=360

[MeasureWindSpeed17]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=28

[MeasureWindGusts17]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=29

[MeasureTime18]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=30

[MeasureWindDirection18]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=31
MinValue=0
MaxValue=360

[MeasureWindSpeed18]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=32

[MeasureWindGusts18]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=33

[MeasureDate2]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""
StringIndex=34

[MeasureTime21]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=35

[MeasureWindDirection21]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=36
MinValue=0
MaxValue=360

[MeasureWindSpeed21]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=37

[MeasureWindGusts21]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=38

[MeasureTime22]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=39

[MeasureWindDirection22]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=40
MinValue=0
MaxValue=360

[MeasureWindSpeed22]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=41

[MeasureWindGusts22]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=42

[MeasureTime23]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=43

[MeasureWindDirection23]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=44
MinValue=0
MaxValue=360

[MeasureWindSpeed23]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=45

[MeasureWindGusts23]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=46

[MeasureTime24]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=47

[MeasureWindDirection24]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=48
MinValue=0
MaxValue=360

[MeasureWindSpeed24]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=49

[MeasureWindGusts24]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=50

[MeasureTime25]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=51

[MeasureWindDirection25]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=52
MinValue=0
MaxValue=360

[MeasureWindSpeed25]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=53

[MeasureWindGusts25]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=54

[MeasureTime26]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=55

[MeasureWindDirection26]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=56
MinValue=0
MaxValue=360

[MeasureWindSpeed26]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=57

[MeasureWindGusts26]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=58

[MeasureTime27]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=59

[MeasureWindDirection27]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=60
MinValue=0
MaxValue=360

[MeasureWindSpeed27]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=61

[MeasureWindGusts27]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=62

[MeasureTime28]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=63

[MeasureWindDirection28]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=64
MinValue=0
MaxValue=360

[MeasureWindSpeed28]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=65

[MeasureWindGusts28]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=66

[MeasureDate3]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""
StringIndex=67

[MeasureTime31]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=68

[MeasureWindDirection31]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=69
MinValue=0
MaxValue=360

[MeasureWindSpeed31]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=70

[MeasureWindGusts31]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=71

[MeasureTime32]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=72

[MeasureWindDirection32]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=73
MinValue=0
MaxValue=360

[MeasureWindSpeed32]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=74

[MeasureWindGusts32]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=75

[MeasureTime33]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=76

[MeasureWindDirection33]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=77
MinValue=0
MaxValue=360

[MeasureWindSpeed33]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=78

[MeasureWindGusts33]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=79

[MeasureTime34]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=80

[MeasureWindDirection34]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=81
MinValue=0
MaxValue=360

[MeasureWindSpeed34]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=82

[MeasureWindGusts34]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=83

[MeasureTime35]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=84

[MeasureWindDirection35]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=85
MinValue=0
MaxValue=360

[MeasureWindSpeed35]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=86

[MeasureWindGusts35]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=87

[MeasureTime36]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=88

[MeasureWindDirection36]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=89
MinValue=0
MaxValue=360

[MeasureWindSpeed36]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=90

[MeasureWindGusts36]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=91

[MeasureTime37]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=59

[MeasureWindDirection37]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=92
MinValue=0
MaxValue=360

[MeasureWindSpeed37]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=93

[MeasureWindGusts37]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=94

[MeasureTime38]
Measure=WebParser
Url=[MeasureWindInfo]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=95

[MeasureWindDirection38]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=96
MinValue=0
MaxValue=360

[MeasureWindSpeed38]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=97

[MeasureWindGusts38]
Measure=WebParser
Url=[MeasureWindInfo]
StringIndex=98

[MeasureDate4]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""
StringIndex=1

[MeasureTime41]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=2

[MeasureWindDirection41]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=3
MinValue=0
MaxValue=360

[MeasureWindSpeed41]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=4

[MeasureWindGusts41]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=5

[MeasureTime42]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=6

[MeasureWindDirection42]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=7
MinValue=0
MaxValue=360

[MeasureWindSpeed42]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=8

[MeasureWindGusts42]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=9

[MeasureTime43]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=10

[MeasureWindDirection43]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=11
MinValue=0
MaxValue=360

[MeasureWindSpeed43]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=12

[MeasureWindGusts43]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=13

[MeasureTime44]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=14

[MeasureWindDirection44]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=15
MinValue=0
MaxValue=360

[MeasureWindSpeed44]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=16

[MeasureWindGusts44]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=17

[MeasureTime45]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=18

[MeasureWindDirection45]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=19
MinValue=0
MaxValue=360

[MeasureWindSpeed45]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=20

[MeasureWindGusts45]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=21

[MeasureTime46]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=22

[MeasureWindDirection46]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=23
MinValue=0
MaxValue=360

[MeasureWindSpeed46]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=24

[MeasureWindGusts46]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=25

[MeasureTime47]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=26

[MeasureWindDirection47]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=27
MinValue=0
MaxValue=360

[MeasureWindSpeed47]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=28

[MeasureWindGusts47]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=29

[MeasureTime48]
Measure=WebParser
Url=[MeasureWindInfo4]
RegExpSubstitute=1
Substitute="0(\d{1})h":"\1:00","(\d{2})h":"\1:00"
StringIndex=30

[MeasureWindDirection48]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=31
MinValue=0
MaxValue=360

[MeasureWindSpeed48]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=32

[MeasureWindGusts48]
Measure=WebParser
Url=[MeasureWindInfo4]
StringIndex=33
And replace the code of the main .ini file (Vertical.ini) with this:

Code: Select all

[Rainmeter]
Update=1000
BackgroundMode=1

;================================================================
;-----------------------  META DATA  ----------------------------
;================================================================

[Metadata]
Name=JamX Weather
Author=JamX
Description=Vertical 3 day weather forecast with current day- low/hi, sun/moon icon and days + description
Instructions=Automatic weather location code based on IP address, and unit to f or m depending on your preference.
Version=1.0.0

;================================================================
;-----------------------  VARIABLES  ----------------------------
;================================================================

[Variables]
Font=denton
FC1GEN=255,255,255,255
FC2LOW=161,161,161
FCN=255,255,255,255
FCT=13a7c7

FSN=15
FSL=9 
FSLoc=10
FS1=9
FS2=12

RoosTint=255,255,255,230
RoosWidth=20
RoosHeight=20
IconWidth=40
IconHeight=40

WeatherUnit=m

Item=<span class="value">(.*)</span>.*<div class="directionarrow icon-direction-solid-grey .*" title="(.*)&deg;"></div>.*<span class="units-ws">(.*)</span>.*<span class="units-ws">(.*)</span>
ItemE=<span class="value">.*</span>.*<div class="directionarrow icon-direction-solid-grey .*" title=".*&deg;"></div>.*<span class="units-ws">.*</span>.*<span class="units-ws">.*</span>
X=-410
U=[!UpdateMeasure "MeasureSlide"][!UpdateMeterGroup "Wind"][!Redraw]

;================================================================
;------------------------  STYLES  ------------------------------
;================================================================

[styleTitle]
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,100
FontColor=#FCT#
FontFace=#Font# 
FontSize=#FS2#
AntiAlias=1

[StyleText]
FontColor=#FC1GEN#
FontSize=#FSL#
;StringStyle=BOLD
Fontweight=600
StringAlign=RIGHT
FontFace=#Font#
StringEffect=SHADOW
FontEffectColor=0,0,0,100
Antialias=1
W=110
H=40
ClipString=1

[StyleNumbers]
FontColor=#FC1GEN#
FontSize=#FSN#
StringStyle=NORMAL
StringAlign=RIGHT
FontFace=#Font#
StringEffect=SHADOW
FontEffectColor=0,0,0,100
Antialias=1

[StyleNumbersLow]
FontColor=#FC2LOW#
FontSize=#FSN#
StringStyle=NORMAL
StringAlign=RIGHT
FontFace=#Font#
StringEffect=SHADOW
FontEffectColor=0,0,0,100
Antialias=1

[StringStyle]
Padding=15,5,15,5
FontColor=220,220,220
;SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=Center
AntiAlias=1
Text=%1#CRLF#%3 kts#CRLF#%4 kts
Container=MeterContainer
Group=Wind

[WindDirectionStyle]
X=-55r
Y=-36R
W=110
H=116
ImageName=#@#Images\Roos.png
OffsetX=10
OffsetY=10
StartAngle=0
RotationAngle=(2*PI)
Container=MeterContainer
Group=Wind

;================================================================
;-------------  MEASURE WEATHER CODE BASED ON IP  ---------------
;================================================================

[MeasureSlide]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Right,15,50
Right=[!SetVariable X "(Clamp((#X#+14),-410,30))"]#U#
ActionList2=Repeat Left,15,50
Left=[!SetVariable X "(Clamp((#X#-14),-410,30))"]#U#
DynamicVariables=1

@IncludeWindInfo=#@#Wind.inc

[MeasureLocation]
Measure=WebParser
Url=http://ip-api.com/json
RegExp=(?siU)"city":"(.*)","country":"(.*)".*,"regionName":"(.*)"
FinishAction=[!EnableMeasure MeasureWeatherCode][!CommandMeasure MeasureWeatherCode "Update"]

[MeasureCity]
Measure=WebParser
Url=[MeasureLocation]
StringIndex=1

[MeasureCountry]
Measure=WebParser
Url=[MeasureLocation]
StringIndex=2

[MeasureRegion]
Measure=WebParser
URL=[MeasureLocation]
StringIndex=3

[MeasureWeatherCode]
Measure=WebParser
Url=http://wxdata.weather.com/wxdata/search/search?where=[&MeasureCity] [&MeasureRegion] [&MeasureCountry]
DynamicVariables=1
RegExp=(?siU).*<loc id="(.*)"
FinishAction=[!EnableMeasure MeasureWeatherRSS][!CommandMeasure MeasureWeatherRSS "Update"]
Disabled=1

[MeasureCode]
Measure=WebParser
URL=[MeasureWeatherCode]
StringIndex=1

;================================================================
;----------------  MEASURE WEATHER INFORMATION  -----------------
;================================================================

[MeasureWeatherRSS]
Measure=WebParser
Url=http://wxdata.weather.com/wxdata/weather/local/[&MeasureCode]?cc=*&unit=#WeatherUnit#&dayf=6
;http://wxdata.weather.com/wxdata/weather/local/NLXX0272?cc=*&unit=m&dayf=6
RegExp=(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<d>(.*)</d>.*<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*).*<wind>.*<s>(.*)</s>.*<d>(.*)</d>.*<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*).*<wind>.*<s>(.*)</s>.*<d>(.*)</d>.*<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*).*<wind>.*<s>(.*)</s>.*<d>(.*)</d>.*<day d="4" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*).*<wind>.*<s>(.*)</s>.*<d>(.*)</d>
DynamicVariables=1
Disabled=1
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]

;-------  UpdateRate=60 = 1 minute interval  ------
UpdateRate=180
;-------------  180 = 3 minutes  ------------------

;-------  Write into Log Rainmeter to check  ------
;FinishAction=[!Log "RSS just updated"]
;--------------------------------------------------

;----------------------- CURRENT DAY ---------------------------

[MeasureWeatherTemp]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=3

[MeasureWeatherDesc]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=5

[MeasureWeatherIcon]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=7

[MeasureWDirection]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=11
MinValue=0
MaxValue=360

[MeasureWSpeed]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=10

;----------------------- FIRST FORECAST ------------------------

[MeasureWeatherDesc1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=21

[MeasureWeatherDay1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=12

[MeasureWeatherTemp1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=15

[MeasureWeatherTemplo1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=17

[MeasureWeatherIcon1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=19

[MeasureWDirection1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=24
MinValue=0
MaxValue=360

[MeasureWSpeed1]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=23

;----------------------- SECOND FORECAST -----------------------

[MeasureWeatherDesc2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=34

[MeasureWeatherDay2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=25

[MeasureWeatherTemp2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=28

[MeasureWeatherTemplo2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=30

[MeasureWeatherIcon2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=32

[MeasureWDirection2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=37
MinValue=0
MaxValue=360

[MeasureWSpeed2]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=36

;----------------------- THIRD FORECAST ------------------------

[MeasureWeatherDesc3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=47

[MeasureWeatherDay3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=38

[MeasureWeatherTemp3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=41

[MeasureWeatherTemplo3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=43

[MeasureWeatherIcon3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=45

[MeasureWDirection3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=50
MinValue=0
MaxValue=360

[MeasureWSpeed3]
Measure=WebParser
Url=[MeasureWeatherRSS]
StringIndex=49

;================================================================
;------------------------  METERS  ------------------------------
;================================================================

[meterTitle]
Meter=STRING
MeterStyle=styleTitle
X=25
Y=675
h=100
Text="Weather"
Angle=1.57

[meterCity]
MeasureName=MeasureCity
MeterStyle=styleText
FontSize=#FSLoc#
StringAlign=LEFT
Meter=STRING
X=30
Y=605
Text=%1

[meterRegion]
MeasureName=MeasureRegion
MeterStyle=styleText
FontSize=#FSLoc#
StringAlign=CENTER
Meter=STRING
X=160
Y=r
Text=%1

[meterCountry]
MeasureName=MeasureCountry
MeterStyle=styleText
FontSize=#FSLoc#
StringAlign=RIGHT
Meter=STRING
X=290
Y=r
Text=%1

[MeterTemp]
MeasureName=MeasureWeatherTemp
MeterStyle=StyleNumbers
Meter=STRING
X=160
Y=30r
Postfix="°"

[MeterDay]
Meter=STRING
MeterStyle=StyleText
X=-40r
Y=-5r
Prefix=Today

[MeterDesc]
MeasureName=MeasureWeatherDesc
MeterStyle=StyleText
Meter=STRING
X=r
Y=20r

[MeterIconNA]
ImagePath=#@#WeatherIcons\
ImageName=na.png
Meter=IMAGE
X=50r
Y=-20r
W=#IconWidth#
H=#IconHeight#

[MeterIcon]
ImagePath=#@#WeatherIcons\
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=r
Y=r
W=#IconWidth#
H=#IconHeight#
Hidden=1
LeftMouseUpAction=[https://www.buienradar.nl/]

[MeterWindPointer]
Meter=Rotator
MeasureName=MeasureWDirection
ImageName=#@#Images\Roos.png
Imagetint=#RoosTint#
AntiAlias=1
StartAngle=(0*PI)
RotationAngle=(2*PI)
X=55r
Y=5r
OffsetX=(#RoosWidth# / 2)
OffsetY=(#RoosHeight# / 2)
W=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))
H=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))
LeftMouseUpAction=[https://www.windfinder.com/forecast/olderplas_ool]

[MeasureWS]
Measure=Calc
Formula=MeasureWSpeed / 1.852

[MeterWindSpeed]
MeasureName=MeasureWS
MeterStyle=StyleText
Meter=STRING
X= 65r
Y= 5r
Postfix=" kts"
SolidColor=0,0,0,1
MouseOverAction=[!SetOption MeterDate MeasureName "MeasureDate1"][!SetOption MeterHour11 MeasureName "MeasureTime11"][!SetOption MeterHour11 MeasureName2 "MeasureWindDirection11"][!SetOption MeterHour11 MeasureName3 "MeasureWindSpeed11"][!SetOption MeterHour11 MeasureName4 "MeasureWindGusts11"][!SetOption MeterHour12 MeasureName "MeasureTime12"][!SetOption MeterHour12 MeasureName2 "MeasureWindDirection12"][!SetOption MeterHour12 MeasureName3 "MeasureWindSpeed12"][!SetOption MeterHour12 MeasureName4 "MeasureWindGusts12"][!SetOption MeterHour13 MeasureName "MeasureTime13"][!SetOption MeterHour13 MeasureName2 "MeasureWindDirection13"][!SetOption MeterHour13 MeasureName3 "MeasureWindSpeed13"][!SetOption MeterHour13 MeasureName4 "MeasureWindGusts13"][!SetOption MeterHour14 MeasureName "MeasureTime14"][!SetOption MeterHour14 MeasureName2 "MeasureWindDirection14"][!SetOption MeterHour14 MeasureName3 "MeasureWindSpeed14"][!SetOption MeterHour14 MeasureName4 "MeasureWindGusts14"][!SetOption MeterHour15 MeasureName "MeasureTime15"][!SetOption MeterHour15 MeasureName2 "MeasureWindDirection15"][!SetOption MeterHour15 MeasureName3 "MeasureWindSpeed15"][!SetOption MeterHour15 MeasureName4 "MeasureWindGusts15"][!SetOption MeterHour16 MeasureName "MeasureTime16"][!SetOption MeterHour16 MeasureName2 "MeasureWindDirection16"][!SetOption MeterHour16 MeasureName3 "MeasureWindSpeed16"][!SetOption MeterHour16 MeasureName4 "MeasureWindGusts16"][!SetOption MeterHour17 MeasureName "MeasureTime17"][!SetOption MeterHour17 MeasureName2 "MeasureWindDirection17"][!SetOption MeterHour17 MeasureName3 "MeasureWindSpeed17"][!SetOption MeterHour17 MeasureName4 "MeasureWindGusts17"][!SetOption MeterHour18 MeasureName "MeasureTime18"][!SetOption MeterHour18 MeasureName2 "MeasureWindDirection18"][!SetOption MeterHour18 MeasureName3 "MeasureWindSpeed18"][!SetOption MeterHour18 MeasureName4 "MeasureWindGusts18"][!SetOption MeterWindDirection11 MeasureName "MeasureWindDirection11"][!SetOption MeterWindDirection12 MeasureName "MeasureWindDirection12"][!SetOption MeterWindDirection13 MeasureName "MeasureWindDirection13"][!SetOption MeterWindDirection14 MeasureName "MeasureWindDirection14"][!SetOption MeterWindDirection15 MeasureName "MeasureWindDirection15"][!SetOption MeterWindDirection16 MeasureName "MeasureWindDirection16"][!SetOption MeterWindDirection17 MeasureName "MeasureWindDirection17"][!SetOption MeterWindDirection18 MeasureName "MeasureWindDirection18"][!UpdateMeterGroup "Wind"][!Redraw][!CommandMeasure "MeasureSlide" "Execute 1"][!CommandMeasure "MeasureSlide" "Stop 2"]
MouseLeaveAction=[!CommandMeasure "MeasureSlide" "Stop 1"][!CommandMeasure "MeasureSlide" "Execute 2"]
DynamicVariables=1

;------------------------- Second Day

[MeterTemp1]
MeasureName=MeasureWeatherTemp1
MeterStyle=StyleNumbers
Meter=STRING
X=-130r
Y=37r
Postfix="°"

[MeterTemplo1]
MeasureName=MeasureWeatherTemplo1
MeterStyle=StyleNumbersLow
Meter=STRING
X=r
Y=20r
Postfix="°"

[MeterDay1]
MeasureName=MeasureWeatherDay1
MeterStyle=StyleText
Meter=STRING
X=-40r
Y=-15r

[MeterDesc1]
MeasureName=MeasureWeatherDesc1
MeterStyle=StyleText
Meter=STRING
X=r
Y=20r

[MeterIcon1]
ImagePath=#@#WeatherIcons\
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=50r
Y=-20r
W=#IconWidth#
H=#IconHeight#

[MeterWindPointer1]
Meter=Rotator
MeasureName=MeasureWDirection1
ImageName=#@#Images\Roos.png
Imagetint=#RoosTint#
AntiAlias=1
StartAngle=0
RotationAngle=6.2832
X=55r
Y=5r
OffsetX=(#RoosWidth# / 2)
OffsetY=(#RoosHeight# / 2)
W=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))
H=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))

[MeasureWS1]
Measure=Calc
Formula=MeasureWSpeed1 / 1.852

[MeterWindSpeed1]
MeasureName=MeasureWS1
MeterStyle=StyleText
Meter=STRING
X= 65r
Y= 5r
Postfix=" kts"

SolidColor=0,0,0,1
MouseOverAction=[!SetOption MeterDate MeasureName "MeasureDate2"][!SetOption MeterHour11 MeasureName "MeasureTime21"][!SetOption MeterHour11 MeasureName2 "MeasureWindDirection21"][!SetOption MeterHour11 MeasureName3 "MeasureWindSpeed21"][!SetOption MeterHour11 MeasureName4 "MeasureWindGusts21"][!SetOption MeterHour12 MeasureName "MeasureTime22"][!SetOption MeterHour12 MeasureName2 "MeasureWindDirection22"][!SetOption MeterHour12 MeasureName3 "MeasureWindSpeed22"][!SetOption MeterHour12 MeasureName4 "MeasureWindGusts22"][!SetOption MeterHour13 MeasureName "MeasureTime23"][!SetOption MeterHour13 MeasureName2 "MeasureWindDirection23"][!SetOption MeterHour13 MeasureName3 "MeasureWindSpeed23"][!SetOption MeterHour13 MeasureName4 "MeasureWindGusts23"][!SetOption MeterHour14 MeasureName "MeasureTime24"][!SetOption MeterHour14 MeasureName2 "MeasureWindDirection24"][!SetOption MeterHour14 MeasureName3 "MeasureWindSpeed24"][!SetOption MeterHour14 MeasureName4 "MeasureWindGusts24"][!SetOption MeterHour15 MeasureName "MeasureTime25"][!SetOption MeterHour15 MeasureName2 "MeasureWindDirection25"][!SetOption MeterHour15 MeasureName3 "MeasureWindSpeed25"][!SetOption MeterHour15 MeasureName4 "MeasureWindGusts25"][!SetOption MeterHour16 MeasureName "MeasureTime26"][!SetOption MeterHour16 MeasureName2 "MeasureWindDirection26"][!SetOption MeterHour16 MeasureName3 "MeasureWindSpeed26"][!SetOption MeterHour16 MeasureName4 "MeasureWindGusts26"][!SetOption MeterHour17 MeasureName "MeasureTime27"][!SetOption MeterHour17 MeasureName2 "MeasureWindDirection27"][!SetOption MeterHour17 MeasureName3 "MeasureWindSpeed27"][!SetOption MeterHour17 MeasureName4 "MeasureWindGusts27"][!SetOption MeterHour18 MeasureName "MeasureTime28"][!SetOption MeterHour18 MeasureName2 "MeasureWindDirection28"][!SetOption MeterHour18 MeasureName3 "MeasureWindSpeed28"][!SetOption MeterHour18 MeasureName4 "MeasureWindGusts28"][!SetOption MeterWindDirection11 MeasureName "MeasureWindDirection21"][!SetOption MeterWindDirection12 MeasureName "MeasureWindDirection22"][!SetOption MeterWindDirection13 MeasureName "MeasureWindDirection23"][!SetOption MeterWindDirection14 MeasureName "MeasureWindDirection24"][!SetOption MeterWindDirection15 MeasureName "MeasureWindDirection25"][!SetOption MeterWindDirection16 MeasureName "MeasureWindDirection26"][!SetOption MeterWindDirection17 MeasureName "MeasureWindDirection27"][!SetOption MeterWindDirection18 MeasureName "MeasureWindDirection28"][!UpdateMeterGroup "Wind"][!Redraw][!CommandMeasure "MeasureSlide" "Execute 1"][!CommandMeasure "MeasureSlide" "Stop 2"]
MouseLeaveAction=[!CommandMeasure "MeasureSlide" "Stop 1"][!CommandMeasure "MeasureSlide" "Execute 2"]
DynamicVariables=1

;------------------------- Thrid Day

[MeterTemp2]
MeasureName=MeasureWeatherTemp2
MeterStyle=StyleNumbers
Meter=STRING
X=-130r
Y=37r
Postfix="°"

[MeterTemplo2]
MeasureName=MeasureWeatherTemplo2
MeterStyle=StyleNumbersLow
Meter=STRING
X=r
Y=20r
Postfix="°"

[MeterDay2]
MeasureName=MeasureWeatherDay2
MeterStyle=StyleText
Meter=STRING
X=-40r
Y=-15r

[MeterDesc2]
MeasureName=MeasureWeatherDesc2
MeterStyle=StyleText
Meter=STRING
X=r
Y=20r

[MeterIcon2]
ImagePath=#@#WeatherIcons\
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=50r
Y=-20r
W=#IconWidth#
H=#IconHeight#

[MeterWindPointer2]
Meter=Rotator
MeasureName=MeasureWDirection2
ImageName=#@#Images\Roos.png
Imagetint=#RoosTint#
AntiAlias=1
StartAngle=0
RotationAngle=6.2832
X=55r
Y=5r
OffsetX=(#RoosWidth# / 2)
OffsetY=(#RoosHeight# / 2)
W=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))
H=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))

[MeasureWS2]
Measure=Calc
Formula=MeasureWSpeed2 / 1.852

[MeterWindSpeed2]
MeasureName=MeasureWS2
MeterStyle=StyleText
Meter=STRING
X= 65r
Y= 5r
Postfix=" kts"
SolidColor=0,0,0,1
MouseOverAction=[!SetOption MeterDate MeasureName "MeasureDate3"][!SetOption MeterHour11 MeasureName "MeasureTime31"][!SetOption MeterHour11 MeasureName2 "MeasureWindDirection31"][!SetOption MeterHour11 MeasureName3 "MeasureWindSpeed31"][!SetOption MeterHour11 MeasureName4 "MeasureWindGusts31"][!SetOption MeterHour12 MeasureName "MeasureTime32"][!SetOption MeterHour12 MeasureName2 "MeasureWindDirection32"][!SetOption MeterHour12 MeasureName3 "MeasureWindSpeed32"][!SetOption MeterHour12 MeasureName4 "MeasureWindGusts32"][!SetOption MeterHour13 MeasureName "MeasureTime33"][!SetOption MeterHour13 MeasureName2 "MeasureWindDirection33"][!SetOption MeterHour13 MeasureName3 "MeasureWindSpeed33"][!SetOption MeterHour13 MeasureName4 "MeasureWindGusts33"][!SetOption MeterHour14 MeasureName "MeasureTime34"][!SetOption MeterHour14 MeasureName2 "MeasureWindDirection34"][!SetOption MeterHour14 MeasureName3 "MeasureWindSpeed34"][!SetOption MeterHour14 MeasureName4 "MeasureWindGusts34"][!SetOption MeterHour15 MeasureName "MeasureTime35"][!SetOption MeterHour15 MeasureName2 "MeasureWindDirection35"][!SetOption MeterHour15 MeasureName3 "MeasureWindSpeed35"][!SetOption MeterHour15 MeasureName4 "MeasureWindGusts35"][!SetOption MeterHour16 MeasureName "MeasureTime36"][!SetOption MeterHour16 MeasureName2 "MeasureWindDirection36"][!SetOption MeterHour16 MeasureName3 "MeasureWindSpeed36"][!SetOption MeterHour16 MeasureName4 "MeasureWindGusts36"][!SetOption MeterHour17 MeasureName "MeasureTime37"][!SetOption MeterHour17 MeasureName2 "MeasureWindDirection37"][!SetOption MeterHour17 MeasureName3 "MeasureWindSpeed37"][!SetOption MeterHour17 MeasureName4 "MeasureWindGusts37"][!SetOption MeterHour18 MeasureName "MeasureTime38"][!SetOption MeterHour18 MeasureName2 "MeasureWindDirection38"][!SetOption MeterHour18 MeasureName3 "MeasureWindSpeed38"][!SetOption MeterHour18 MeasureName4 "MeasureWindGusts38"][!SetOption MeterWindDirection11 MeasureName "MeasureWindDirection31"][!SetOption MeterWindDirection12 MeasureName "MeasureWindDirection32"][!SetOption MeterWindDirection13 MeasureName "MeasureWindDirection33"][!SetOption MeterWindDirection14 MeasureName "MeasureWindDirection34"][!SetOption MeterWindDirection15 MeasureName "MeasureWindDirection35"][!SetOption MeterWindDirection16 MeasureName "MeasureWindDirection36"][!SetOption MeterWindDirection17 MeasureName "MeasureWindDirection37"][!SetOption MeterWindDirection18 MeasureName "MeasureWindDirection38"][!UpdateMeterGroup "Wind"][!Redraw][!CommandMeasure "MeasureSlide" "Execute 1"][!CommandMeasure "MeasureSlide" "Stop 2"]
MouseLeaveAction=[!CommandMeasure "MeasureSlide" "Stop 1"][!CommandMeasure "MeasureSlide" "Execute 2"]
DynamicVariables=1

;------------------------- Fourth Day

[MeterTemp3]
MeasureName=MeasureWeatherTemp3
MeterStyle=StyleNumbers
Meter=STRING
X=-130r
Y=37r
Postfix="°"

[MeterTemplo3]
MeasureName=MeasureWeatherTemplo3
MeterStyle=StyleNumbersLow
Meter=STRING
X=r
Y=20r
Postfix="°"

[MeterDay3]
MeasureName=MeasureWeatherDay3
MeterStyle=StyleText
Meter=STRING
X=-40r
Y=-15r

[MeterDesc3]
MeasureName=MeasureWeatherDesc3
MeterStyle=StyleText
Meter=STRING
X=r
Y=20r

[MeterIcon3]
ImagePath=#@#WeatherIcons\
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=50r
Y=-20r
W=#IconWidth#
H=#IconHeight#

[MeterWindPointer3]
Meter=Rotator
MeasureName=MeasureWDirection3
ImageName=#@#Images\Roos.png
Imagetint=#RoosTint#
AntiAlias=1
StartAngle=0
RotationAngle=6.2832
X=55r
Y=5r
OffsetX=(#RoosWidth# / 2)
OffsetY=(#RoosHeight# / 2)
W=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))
H=(SQRT(#RoosWidth# ** 2 + #RoosHeight# ** 2))

[MeasureWS3]
Measure=Calc
Formula=MeasureWSpeed3 / 1.852

[MeterWindSpeed3]
MeasureName=MeasureWS3
MeterStyle=StyleText
Meter=STRING
X= 65r
Y= 5r
Postfix=" kts"
SolidColor=0,0,0,1
MouseOverAction=[!SetOption MeterDate MeasureName "MeasureDate4"][!SetOption MeterHour11 MeasureName "MeasureTime41"][!SetOption MeterHour11 MeasureName2 "MeasureWindDirection41"][!SetOption MeterHour11 MeasureName3 "MeasureWindSpeed41"][!SetOption MeterHour11 MeasureName4 "MeasureWindGusts41"][!SetOption MeterHour12 MeasureName "MeasureTime42"][!SetOption MeterHour12 MeasureName2 "MeasureWindDirection42"][!SetOption MeterHour12 MeasureName3 "MeasureWindSpeed42"][!SetOption MeterHour12 MeasureName4 "MeasureWindGusts42"][!SetOption MeterHour13 MeasureName "MeasureTime43"][!SetOption MeterHour13 MeasureName2 "MeasureWindDirection43"][!SetOption MeterHour13 MeasureName3 "MeasureWindSpeed43"][!SetOption MeterHour13 MeasureName4 "MeasureWindGusts43"][!SetOption MeterHour14 MeasureName "MeasureTime44"][!SetOption MeterHour14 MeasureName2 "MeasureWindDirection44"][!SetOption MeterHour14 MeasureName3 "MeasureWindSpeed44"][!SetOption MeterHour14 MeasureName4 "MeasureWindGusts44"][!SetOption MeterHour15 MeasureName "MeasureTime45"][!SetOption MeterHour15 MeasureName2 "MeasureWindDirection45"][!SetOption MeterHour15 MeasureName3 "MeasureWindSpeed45"][!SetOption MeterHour15 MeasureName4 "MeasureWindGusts45"][!SetOption MeterHour16 MeasureName "MeasureTime46"][!SetOption MeterHour16 MeasureName2 "MeasureWindDirection46"][!SetOption MeterHour16 MeasureName3 "MeasureWindSpeed46"][!SetOption MeterHour16 MeasureName4 "MeasureWindGusts46"][!SetOption MeterHour17 MeasureName "MeasureTime47"][!SetOption MeterHour17 MeasureName2 "MeasureWindDirection47"][!SetOption MeterHour17 MeasureName3 "MeasureWindSpeed47"][!SetOption MeterHour17 MeasureName4 "MeasureWindGusts47"][!SetOption MeterHour18 MeasureName "MeasureTime48"][!SetOption MeterHour18 MeasureName2 "MeasureWindDirection48"][!SetOption MeterHour18 MeasureName3 "MeasureWindSpeed48"][!SetOption MeterHour18 MeasureName4 "MeasureWindGusts48"][!SetOption MeterWindDirection11 MeasureName "MeasureWindDirection41"][!SetOption MeterWindDirection12 MeasureName "MeasureWindDirection42"][!SetOption MeterWindDirection13 MeasureName "MeasureWindDirection43"][!SetOption MeterWindDirection14 MeasureName "MeasureWindDirection44"][!SetOption MeterWindDirection15 MeasureName "MeasureWindDirection45"][!SetOption MeterWindDirection16 MeasureName "MeasureWindDirection46"][!SetOption MeterWindDirection17 MeasureName "MeasureWindDirection47"][!SetOption MeterWindDirection18 MeasureName "MeasureWindDirection48"][!UpdateMeterGroup "Wind"][!Redraw][!CommandMeasure "MeasureSlide" "Execute 1"][!CommandMeasure "MeasureSlide" "Stop 2"]
MouseLeaveAction=[!CommandMeasure "MeasureSlide" "Stop 1"][!CommandMeasure "MeasureSlide" "Execute 2"]
DynamicVariables=1

[MeterContainer]
Meter=Image
SolidColor=0,0,0
X=-70R
Y=670
W=500
;W=450
H=125

[MeterDate]
Meter=STRING
MeterStyle=StringStyle
X=(180+#X#)
Y=0
W=384
H=14
Text=%1
DynamicVariables=1
Group=Wind

[MeterHour11]
Meter=STRING
MeterStyle=StringStyle
X=-182r
Y=26r
W=20
H=44

[MeterWindDirection11]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour12]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection12]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour13]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection13]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour14]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection14]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour15]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection15]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour16]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection16]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour17]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection17]
Meter=Rotator
MeterStyle=WindDirectionStyle

[MeterHour18]
Meter=STRING
MeterStyle=StringStyle
X=107r
Y=-18r
W=20
H=44

[MeterWindDirection18]
Meter=Rotator
MeterStyle=WindDirectionStyle
Now the wind information will slide out for each day.
User avatar
JamX
Posts: 108
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

Hi Balala,

The code is working, all days forecast.
Perfect!

When I try to set a transparent color to these values, as you mentioned the wind direction icon does not have this background color because it's a different meter I guess.

Is there an easy fix for this?
If I add in [WindDirectionStyle] SolidColor=0,0,0,120 there seems to be some kind of overlap
Captur6.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 10023
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote:
October 15th, 2019, 7:36 pm
The code is working, all days forecast.
Perfect!
I'm glad.
JamX wrote:
October 15th, 2019, 7:36 pm
When I try to set a transparent color to these values, as you mentioned the wind direction icon does not have this background color because it's a different meter I guess.

Is there an easy fix for this?
As I said:
balala wrote:
October 14th, 2019, 8:51 pm
Add a SolidColor=0,0,0,150 option to the [StringStyle] section. Obviously if you want, you can modify the color as you wish.

Obviously you have to refresh the skin. Had you?

Sorry, I misunderstood you.