It is currently December 10th, 2018, 6:32 pm

Help with achieving a simple skin

Get help with installing and using Rainmeter.
User avatar
balala
Rainmeter Sage
Posts: 7151
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with achieving a simple skin

balala » October 14th, 2018, 6:15 pm

Jose Hidalgo wrote:
October 14th, 2018, 5:48 pm
What I'd like to to is : IF MeasureName0 = "Ce soir" THEN display the temperature in red ( FontColor=205,175,180,255 ) ELSE display it in green
Add the following options to the [MeasureName0] measure:

Code: Select all

[MeasureName0]
...
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP0 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP0"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP0 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP0"][!Redraw]
User avatar
Jose Hidalgo
Posts: 29
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Jose Hidalgo » October 15th, 2018, 12:23 pm

Thanks again :) I tried to do it with several temperatures at once, but it doesn't work. Could you tell me what's wrong with this piece of code ?

Code: Select all

IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP0 FontColor "205,175,180,255"][!SetOption MeterTEMP1 FontColor "185,250,160,255"][!SetOption MeterTEMP2 FontColor "205,175,180,255"][!SetOption MeterTEMP3 FontColor "185,250,160,255"][!SetOption MeterTEMP4 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP0"][!UpdateMeter "MeterTEMP1"][!UpdateMeter "MeterTEMP2"][!UpdateMeter "MeterTEMP3"][!UpdateMeter "MeterTEMP4"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP0 FontColor "185,250,160,255"][!SetOption MeterTEMP1 FontColor "205,175,180,255"][!SetOption MeterTEMP2 FontColor "185,250,160,255"][!SetOption MeterTEMP3 FontColor "205,175,180,255"][!SetOption MeterTEMP4 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP0"][!UpdateMeter "MeterTEMP1"][!UpdateMeter "MeterTEMP2"][!UpdateMeter "MeterTEMP3"][!UpdateMeter "MeterTEMP4"][!Redraw]
xenium
Posts: 308
Joined: January 4th, 2018, 9:52 pm

Re: Help with achieving a simple skin

xenium » October 15th, 2018, 12:55 pm

Jose Hidalgo wrote:
October 15th, 2018, 12:23 pm
Thanks again :) I tried to do it with several temperatures at once, but it doesn't work. Could you tell me what's wrong with this piece of code ?

Code: Select all

IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP0 FontColor "205,175,180,255"][!SetOption MeterTEMP1 FontColor "185,250,160,255"][!SetOption MeterTEMP2 FontColor "205,175,180,255"][!SetOption MeterTEMP3 FontColor "185,250,160,255"][!SetOption MeterTEMP4 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP0"][!UpdateMeter "MeterTEMP1"][!UpdateMeter "MeterTEMP2"][!UpdateMeter "MeterTEMP3"][!UpdateMeter "MeterTEMP4"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP0 FontColor "185,250,160,255"][!SetOption MeterTEMP1 FontColor "205,175,180,255"][!SetOption MeterTEMP2 FontColor "185,250,160,255"][!SetOption MeterTEMP3 FontColor "205,175,180,255"][!SetOption MeterTEMP4 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP0"][!UpdateMeter "MeterTEMP1"][!UpdateMeter "MeterTEMP2"][!UpdateMeter "MeterTEMP3"][!UpdateMeter "MeterTEMP4"][!Redraw]
Options are added to each MeasureDay in part:
Options in his balala response are added to [MeasureDay0]

At [MeasureDay1] apply the same options but by changing MeterTEMP0 with MeterTEMP1

Code: Select all

[MeasureDay1]
...
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP1 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP1"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP1 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP1"][!Redraw]

The same for [MeasureDay2], [MeasureDay3] and [MeasureDay4]: Change to MeterTEMP0 options with MeterTEMP2, MeterTEMP3 and MeterTEMP4
xenium
Posts: 308
Joined: January 4th, 2018, 9:52 pm

Re: Help with achieving a simple skin

xenium » October 15th, 2018, 1:58 pm

I think Ce Soir is only displayed on Day0 and Day1.
On Day 2, Day3, Day4 is displayed Nuit.
If you want the font to have different colors and when Nuit is displayed, to [MeasureDay2], [MeasureDay3] and [MeasureDay4] replace IfMatch=Ce soir with IfMatch=Ce soir|Nuit
So the font changes its color if the Ce Soir or Nuit is displayed.
Finally, the changes should look like this:

Code: Select all

[MeasureDay0]
...
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP0 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP0"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP0 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP0"][!Redraw]


[MeasureDay1]
...
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP1 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP1"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP1 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP1"][!Redraw]


[MeasureDay2]
...
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP2 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP2"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP2 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP2"][!Redraw]


[MeasureDay3]
...
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP3 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP3"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP3 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP3"][!Redraw]


[MeasureDay4]
...
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP4 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP4"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP4 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP4"][!Redraw]
Last edited by xenium on October 15th, 2018, 2:52 pm, edited 2 times in total.
User avatar
balala
Rainmeter Sage
Posts: 7151
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with achieving a simple skin

balala » October 15th, 2018, 2:17 pm

Jose Hidalgo, if xenium's reply doesn't help, please post the last code you have. I know there was posted before, but it was long time ago any maybe in the meantime some changes occurred, so, please post the last code.
User avatar
Jose Hidalgo
Posts: 29
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Jose Hidalgo » October 16th, 2018, 3:26 pm

It all makes sense. I am learning so much with this topic ! :thumbup:

I have just implemented xenium's code. It seemed neat and I thought that it would work instantly, but it doesn't O.O All the temperatures are still displayed in white. What could be wrong ?

Here's the latest version :

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=WeatherFrench
Author=xxenium
Information=Weather information provided by Weather.com (french)
Design & WeatherIcons from SPEED by minhtrimatrix(https://www.deviantart.com/minhtrimatrix)
Version=1.0
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0


[Variables]

UpdateRateSeconds=600
FontFace=Segoe UI

URL=https://weather.com/fr-FR/temps/aujour/l/FRXX0055:1:FR


ButtonL=#@#L.png
ButtonR=#@#R.png

RAction=[!SetOption Button ImageName "#ButtonL#"][!HideMeter "bg1"][!ShowMeterGroup Next3][!HideMeterGroup First3][!SetOption Button LeftMouseUpAction """#LAction#"""][!Redraw] 
LAction=[!SetOption Button ImageName "#ButtonR#"][!ShowMeter "bg1"][!ShowMeterGroup First3][!HideMeterGroup Next3][!SetOption Button LeftMouseUpAction """#RAction#"""][!Redraw]


;===============================MEASURES==================================


;= = = = = = = = = = = = = = = NOW = = = = = = = = = = = = = = = = = = = = 

[MeasureNOW]
Measure=WebParser
Url=#URL#
RegExp=(?siU)(?(?=.*</div></span><p class="today_nowcard-).*timestamp"><span>(.*)<!----> </span><span>(.*)</span>).*(?(?=.*<div class="today_nowcard-section today_nowcard-condition"><div class="condition-icon wx-weather-icon vector).*"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today_nowcard-temp").*><span class="">(.*)<sup>(.*)</sup></span>).*(?(?=.*<div class="today_nowcard-phrase).*">(.*)</div>)(?(?=.*<div class="today_nowcard-feels).*"><span class="btn-text">(.*)<!----> </span><span class="deg-feels" className="deg-feels">(.*)<sup>(.*)</sup></span>).*(?(?=.*<div class="today_nowcard-sidecar component panel"><table><caption>Maintenant</caption><tbody>).*<tr><th>(.*)</th><td><span class="">(.*)</span></td></tr><tr><th>(.*)</th><td><span class=""><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span></span></span></td></tr><tr><th>Pt de rosée</th><td><span class="">.*<sup>.*</sup></span></td></tr><tr><th>(.*)</th><td><span class="">(.*)<!---->.*</span></td></tr><tr><th>(.*)</th><td><span class="">(.*)</span></td>)
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureUpdTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=1

[MeasureUpd]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=2

[MeasureIcon]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=3

[MeasureTemp]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=4

[MeasureTempSymb]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=5

[MeasureCond]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=6

[MeasureFeelsLikeTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=7
Substitute="T. ressentie":"Temp. ressentie"

[MeasureFeelsLike]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=8

[MeasureFeelsLikeSymb]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=9

[MeasureWindTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=10

[MeasureWind]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=11

[MeasureHumidTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=12

[MeasureHumid]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=13

[MeasureHumidSymb]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=14

[MeasurePressTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=15

[MeasurePress]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=16

[MeasureVisibTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=17

[MeasureVisib]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=18

; = = = = = = = = = = = = Next 36 Hours = = = = = = = = = = = = = = = = 

[Measure36HOURS]
Measure=WebParser
Url=#URL#
RegExp=(?siU)(?(?=.*<div class="today-daypart daypart-0).*  selected" id="daypart-0" data-track-string="today-looking-ahead_lookingAhead0hours" className="today-daypart daypart-0  selected"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp0-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp0-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part0-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp0-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-1").* id="daypart-1" data-track-string="today-looking-ahead_lookingAhead12hours" className="today-daypart daypart-1"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp1-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp1-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part1-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp1-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-2").* id="daypart-2" data-track-string="today-looking-ahead_lookingAhead24hours" className="today-daypart daypart-2"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp2-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp2-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part2-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp2-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-3").* id="daypart-3" data-track-string="today-looking-ahead_lookingAhead36hours" className="today-daypart daypart-3"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp3-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp3-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part3-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp3-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-4").* id="daypart-4" data-track-string="today-looking-ahead_lookingAhead48hours" className="today-daypart daypart-4"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp4-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp4-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part4-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp4-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>)
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureDay0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=1

[MeasureCond0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=2
Substitute="&#039;":"'"

[MeasureIcon0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=3

[MeasureTempTx0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=4

[MeasureTemp0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=5

[MeasureTempSymb0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=6

[MeasurePP0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=7

[MeasurePPSymb0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=8

[MeasureDay1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=9

[MeasureCond1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=10
Substitute="&#039;":"'"

[MeasureIcon1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=11

[MeasureTempTx1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=12

[MeasureTemp1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=13

[MeasureTempSymb1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=14

[MeasurePP1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=15

[MeasurePPSymb1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=16

[MeasureDay2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=17

[MeasureCond2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=18
Substitute="&#039;":"'"

[MeasureIcon2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=19

[MeasureTempTx2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=20

[MeasureTemp2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=21

[MeasureTempSymb2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=22

[MeasurePP2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=23

[MeasurePPSymb2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=24

[MeasureDay3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=25

[MeasureCond3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=26
Substitute="&#039;":"'"

[MeasureIcon3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=27

[MeasureTempTx3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=28

[MeasureTemp3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=29

[MeasureTempSymb3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=30

[MeasurePP3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=31

[MeasurePPSymb3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=32

[MeasureDay4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=33

[MeasureCond4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=34
Substitute="&#039;":"'"

[MeasureIcon4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=35

[MeasureTempTx4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=36

[MeasureTemp4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=37

[MeasureTempSymb4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=38

[MeasurePP4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=39

[MeasurePPSymb4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=40

;===============================METERS==================================

[bg1]
Meter=IMAGE
ImageName=#@#bg1.png
X=33
Y=38

[bg]
Meter=IMAGE
ImageName=#@#bg.png
X=0
Y=30

[Button]
Meter=Image
ImageName=#@#R.png 
X=245
Y=80
DynamicVariables=1
LeftMouseUpAction=#RAction#

;= = = = = = = = = = = = = NOW = = = = = = = = = =  = = = = = = = = = = 

[MeterNOW]
Meter=String
Group=First3
X=67
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=Maintenant
Text=%1%2

[MeterIcon]
MeasureName=MeasureIcon
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=41
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureUpdTx] [MeasureUpd]#CRLF#[MeasureCond]#CRLF#[MeasureFeelsLikeTx] : [MeasureFeelsLike][MeasureFeelsLikeSymb]#CRLF#[MeasureWindTx] : [MeasureWind]#CRLF#[MeasureHumidTx] : [MeasureHumid][MeasureHumidSymb]#CRLF#[MeasurePressTx] : [MeasurePress]#CRLF#[MeasureVisibTx] : [MeasureVisib]
DynamicVariables=1

[MeterTEMP]
Meter=String
MeasureName=MeasureTemp
MeasureName2=MeasureTempSymb
Group=First3
X=69
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%1%2C

;= = = = = = = = = = = = = = Next 36 Hours = = = = = = = = = =  

[MeterDAY0]
Meter=String
MeasureName=MeasureDay0
Group=First3
X=140
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP0 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP0"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP0 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP0"][!Redraw]

[MeterIcon0]
MeasureName=MeasureIcon0
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=113
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond0]#CRLF#Précip : [MeasurePP0][MeasurePPSymb0]
DynamicVariables=1

[MeterTEMP0]
Meter=String
MeasureName=MeasureTempTx0
MeasureName2=MeasureTemp0
MeasureName3=MeasureTempSymb0
Group=First3
X=140
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C

[MeterDAY1]
Meter=String
MeasureName=MeasureDay1
Group=First3
X=212
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP1 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP1"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP1 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP1"][!Redraw]

[MeterIcon1]
MeasureName=MeasureIcon1
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=185
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond1]#CRLF#Précip : [MeasurePP1][MeasurePPSymb1]
DynamicVariables=1

[MeterTEMP1]
Meter=String
MeasureName=MeasureTempTx1
MeasureName2=MeasureTemp1
MeasureName3=MeasureTempSymb1
Group=First3
X=212
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C

[MeterDAY2]
Meter=String
MeasureName=MeasureDay2
Group=Next3
X=68
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Hidden=1
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP2 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP2"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP2 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP2"][!Redraw]

[MeterIcon2]
MeasureName=MeasureIcon2
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=41
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond2]#CRLF#Précip : [MeasurePP2][MeasurePPSymb2]
DynamicVariables=1
Hidden=1

[MeterTEMP2]
Meter=String
MeasureName=MeasureTempTx2
MeasureName2=MeasureTemp2
MeasureName3=MeasureTempSymb2
Group=Next3
X=68
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C
Hidden=1

[MeterDAY3]
Meter=String
MeasureName=MeasureDay3
Group=Next3
X=140
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Hidden=1
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP3 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP3"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP3 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP3"][!Redraw]

[MeterIcon3]
MeasureName=MeasureIcon3
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=113
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond3]#CRLF#Précip : [MeasurePP3][MeasurePPSymb3]
DynamicVariables=1
Hidden=1

[MeterTEMP3]
Meter=String
MeasureName=MeasureTempTx3
MeasureName2=MeasureTemp3
MeasureName3=MeasureTempSymb3
Group=Next3
X=140
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C
Hidden=1

[MeterDAY4]
Meter=String
MeasureName=MeasureDay4
Group=Next3
X=212
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Hidden=1
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP4 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP4"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP4 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP4"][!Redraw]

[MeterIcon4]
MeasureName=MeasureIcon4
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=185
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond4]#CRLF#Précip : [MeasurePP4][MeasurePPSymb4]
DynamicVariables=1
Hidden=1

[MeterTEMP4]
Meter=String
MeasureName=MeasureTempTx4
MeasureName2=MeasureTemp4
MeasureName3=MeasureTempSymb4
Group=Next3
X=212
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C
Hidden=1
User avatar
balala
Rainmeter Sage
Posts: 7151
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with achieving a simple skin

balala » October 16th, 2018, 3:38 pm

Jose Hidalgo wrote:
October 16th, 2018, 3:26 pm
I have just implemented xenium's code. It seemed neat and I thought that it would work instantly, but it doesn't
What is not working?
xenium
Posts: 308
Joined: January 4th, 2018, 9:52 pm

Re: Help with achieving a simple skin

xenium » October 16th, 2018, 4:24 pm

Jose Hidalgo wrote:
October 16th, 2018, 3:26 pm
What could be wrong ?
IfMatch options are added to Measures, not to Meters !
Just look again, at my post above. :x
User avatar
balala
Rainmeter Sage
Posts: 7151
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with achieving a simple skin

balala » October 16th, 2018, 6:03 pm

xenium wrote:
October 16th, 2018, 4:24 pm
IfMatch options are added to Measures, not to Meters !
Exactly. I have to admit I was not carefully enough, but xenium is right: Jose Hidalgo, you've added some IfMatch / IfMatchAction / IfNotMatchAction set of options to meters, like [MeterDAY0], [MeterDAY1], [MeterDAY2], [MeterDAY3] and [MeterDAY4]. They are not working in that environment. Move those options to the appropriate measures, as xenium have advised you above.
User avatar
Jose Hidalgo
Posts: 29
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Jose Hidalgo » October 16th, 2018, 8:56 pm

Damnit ! I was so stupid ! :oops: :handtohead:

In my defence, I am sick right now (flu, fever, etc.), I have barely slept since 3 days, so my brain is trying to recover.

Problem solved, thank you guys. It seems to work perfectly now.

No more questions I guess ! :17good

And here's the final code , for everybody to enjoy xenium's excellent work and balala's excellent help throughout this topic :

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=WeatherFrench
Author=xxenium
Information=Weather information provided by Weather.com (french)
Design & WeatherIcons from SPEED by minhtrimatrix (https://www.deviantart.com/minhtrimatrix)
Improvements by balala
Version=1.0
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0


[Variables]

UpdateRateSeconds=600
FontFace=Segoe UI

URL=https://weather.com/fr-FR/temps/aujour/l/FRXX0055:1:FR


ButtonL=#@#L.png
ButtonR=#@#R.png

RAction=[!SetOption Button ImageName "#ButtonL#"][!HideMeter "bg1"][!ShowMeterGroup Next3][!HideMeterGroup First3][!SetOption Button LeftMouseUpAction """#LAction#"""][!Redraw] 
LAction=[!SetOption Button ImageName "#ButtonR#"][!ShowMeter "bg1"][!ShowMeterGroup First3][!HideMeterGroup Next3][!SetOption Button LeftMouseUpAction """#RAction#"""][!Redraw]


;===============================MEASURES==================================


;= = = = = = = = = = = = = = = NOW = = = = = = = = = = = = = = = = = = = = 

[MeasureNOW]
Measure=WebParser
Url=#URL#
RegExp=(?siU)(?(?=.*</div></span><p class="today_nowcard-).*timestamp"><span>(.*)<!----> </span><span>(.*)</span>).*(?(?=.*<div class="today_nowcard-section today_nowcard-condition"><div class="condition-icon wx-weather-icon vector).*"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today_nowcard-temp").*><span class="">(.*)<sup>(.*)</sup></span>).*(?(?=.*<div class="today_nowcard-phrase).*">(.*)</div>)(?(?=.*<div class="today_nowcard-feels).*"><span class="btn-text">(.*)<!----> </span><span class="deg-feels" className="deg-feels">(.*)<sup>(.*)</sup></span>).*(?(?=.*<div class="today_nowcard-sidecar component panel"><table><caption>Maintenant</caption><tbody>).*<tr><th>(.*)</th><td><span class="">(.*)</span></td></tr><tr><th>(.*)</th><td><span class=""><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span></span></span></td></tr><tr><th>Pt de rosée</th><td><span class="">.*<sup>.*</sup></span></td></tr><tr><th>(.*)</th><td><span class="">(.*)<!---->.*</span></td></tr><tr><th>(.*)</th><td><span class="">(.*)</span></td>)
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureUpdTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=1

[MeasureUpd]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=2

[MeasureIcon]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=3

[MeasureTemp]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=4

[MeasureTempSymb]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=5

[MeasureCond]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=6

[MeasureFeelsLikeTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=7
Substitute="T. ressentie":"Temp. ressentie"

[MeasureFeelsLike]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=8

[MeasureFeelsLikeSymb]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=9

[MeasureWindTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=10

[MeasureWind]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=11

[MeasureHumidTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=12

[MeasureHumid]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=13

[MeasureHumidSymb]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=14

[MeasurePressTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=15

[MeasurePress]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=16

[MeasureVisibTx]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=17

[MeasureVisib]
Measure=WebParser
Url=[MeasureNOW]
StringIndex=18

; = = = = = = = = = = = = Next 36 Hours = = = = = = = = = = = = = = = = 

[Measure36HOURS]
Measure=WebParser
Url=#URL#
RegExp=(?siU)(?(?=.*<div class="today-daypart daypart-0).*  selected" id="daypart-0" data-track-string="today-looking-ahead_lookingAhead0hours" className="today-daypart daypart-0  selected"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp0-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp0-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part0-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp0-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-1").* id="daypart-1" data-track-string="today-looking-ahead_lookingAhead12hours" className="today-daypart daypart-1"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp1-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp1-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part1-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp1-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-2").* id="daypart-2" data-track-string="today-looking-ahead_lookingAhead24hours" className="today-daypart daypart-2"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp2-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp2-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part2-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp2-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-3").* id="daypart-3" data-track-string="today-looking-ahead_lookingAhead36hours" className="today-daypart daypart-3"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp3-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp3-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part3-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp3-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>).*(?(?=.*<div class="today-daypart daypart-4").* id="daypart-4" data-track-string="today-looking-ahead_lookingAhead48hours" className="today-daypart daypart-4"><div class="today-daypart-content" className="today-daypart-content"><div class="today-daypart-top"><span class="today-daypart-title" id="dp4-daypartName">(.*)</span>)(?(?=.*<span class="today-daypart-wxphrase").* id="dp4-phrase">(.*)</span></div>)(?(?=.*<div class="condition-icon wx-weather-icon").* aria-hidden="true" id="la-part4-icon"><icon class="icon icon-svg icon-svg-light .* icon-(.*)" className="icon icon-svg icon-svg-light .* icon-.*">.*</icon></div>)(?(?=.*<div class="today-daypart-hilo" id="dp4-).*highLow">(.*)</div>)(?(?=.*<div class="today-daypart-temp").*><span class="">(.*)<sup>(.*)</sup></span></div>)(?(?=.*<div class="today-daypart-precip").*><span class="icon icon-font iconset-weather-data icon-drop-1" className="icon icon-font iconset-weather-data icon-drop-1"></span><span class="precip-val" className="precip-val"><span>(.*)<span class="Percentage__percentSymbol__2Q_AR">(.*)</span>)
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureDay0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=1
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP0 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP0"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP0 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP0"][!Redraw]

[MeasureCond0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=2
Substitute="&#039;":"'"

[MeasureIcon0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=3

[MeasureTempTx0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=4

[MeasureTemp0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=5

[MeasureTempSymb0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=6

[MeasurePP0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=7

[MeasurePPSymb0]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=8

[MeasureDay1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=9
IfMatch=Ce soir
IfMatchAction=[!SetOption MeterTEMP1 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP1"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP1 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP1"][!Redraw]

[MeasureCond1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=10
Substitute="&#039;":"'"

[MeasureIcon1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=11

[MeasureTempTx1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=12

[MeasureTemp1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=13

[MeasureTempSymb1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=14

[MeasurePP1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=15

[MeasurePPSymb1]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=16

[MeasureDay2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=17
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP2 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP2"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP2 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP2"][!Redraw]

[MeasureCond2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=18
Substitute="&#039;":"'"

[MeasureIcon2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=19

[MeasureTempTx2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=20

[MeasureTemp2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=21

[MeasureTempSymb2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=22

[MeasurePP2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=23

[MeasurePPSymb2]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=24

[MeasureDay3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=25
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP3 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP3"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP3 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP3"][!Redraw]

[MeasureCond3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=26
Substitute="&#039;":"'"

[MeasureIcon3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=27

[MeasureTempTx3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=28

[MeasureTemp3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=29

[MeasureTempSymb3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=30

[MeasurePP3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=31

[MeasurePPSymb3]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=32

[MeasureDay4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=33
IfMatch=Ce soir|Nuit
IfMatchAction=[!SetOption MeterTEMP4 FontColor "205,175,180,255"][!UpdateMeter "MeterTEMP4"][!Redraw]
IfNotMatchAction=[!SetOption MeterTEMP4 FontColor "185,250,160,255"][!UpdateMeter "MeterTEMP4"][!Redraw]

[MeasureCond4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=34
Substitute="&#039;":"'"

[MeasureIcon4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=35

[MeasureTempTx4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=36

[MeasureTemp4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=37

[MeasureTempSymb4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=38

[MeasurePP4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=39

[MeasurePPSymb4]
Measure=WebParser
Url=[Measure36HOURS]
StringIndex=40

;===============================METERS==================================

[bg1]
Meter=IMAGE
ImageName=#@#bg1.png
X=33
Y=38

[bg]
Meter=IMAGE
ImageName=#@#bg.png
X=0
Y=30

[Button]
Meter=Image
ImageName=#@#R.png 
X=245
Y=80
DynamicVariables=1
LeftMouseUpAction=#RAction#

;= = = = = = = = = = = = = NOW = = = = = = = = = =  = = = = = = = = = = 

[MeterNOW]
Meter=String
Group=First3
X=67
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=Maintenant
Text=%1%2

[MeterIcon]
MeasureName=MeasureIcon
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=41
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureUpdTx] [MeasureUpd]#CRLF#[MeasureCond]#CRLF#[MeasureFeelsLikeTx] : [MeasureFeelsLike][MeasureFeelsLikeSymb]#CRLF#[MeasureWindTx] : [MeasureWind]#CRLF#[MeasureHumidTx] : [MeasureHumid][MeasureHumidSymb]#CRLF#[MeasurePressTx] : [MeasurePress]#CRLF#[MeasureVisibTx] : [MeasureVisib]
DynamicVariables=1

[MeterTEMP]
Meter=String
MeasureName=MeasureTemp
MeasureName2=MeasureTempSymb
Group=First3
X=69
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%1%2C

;= = = = = = = = = = = = = = Next 36 Hours = = = = = = = = = =  

[MeterDAY0]
Meter=String
MeasureName=MeasureDay0
Group=First3
X=140
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1

[MeterIcon0]
MeasureName=MeasureIcon0
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=114
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond0]#CRLF#Précip : [MeasurePP0][MeasurePPSymb0]
DynamicVariables=1

[MeterTEMP0]
Meter=String
MeasureName=MeasureTempTx0
MeasureName2=MeasureTemp0
MeasureName3=MeasureTempSymb0
Group=First3
X=140
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C

[MeterDAY1]
Meter=String
MeasureName=MeasureDay1
Group=First3
X=212
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1

[MeterIcon1]
MeasureName=MeasureIcon1
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=185
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond1]#CRLF#Précip : [MeasurePP1][MeasurePPSymb1]
DynamicVariables=1

[MeterTEMP1]
Meter=String
MeasureName=MeasureTempTx1
MeasureName2=MeasureTemp1
MeasureName3=MeasureTempSymb1
Group=First3
X=212
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C

[MeterDAY2]
Meter=String
MeasureName=MeasureDay2
Group=Next3
X=68
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Hidden=1

[MeterIcon2]
MeasureName=MeasureIcon2
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=41
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond2]#CRLF#Précip : [MeasurePP2][MeasurePPSymb2]
DynamicVariables=1
Hidden=1

[MeterTEMP2]
Meter=String
MeasureName=MeasureTempTx2
MeasureName2=MeasureTemp2
MeasureName3=MeasureTempSymb2
Group=Next3
X=68
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C
Hidden=1

[MeterDAY3]
Meter=String
MeasureName=MeasureDay3
Group=Next3
X=140
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Hidden=1

[MeterIcon3]
MeasureName=MeasureIcon3
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=113
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond3]#CRLF#Précip : [MeasurePP3][MeasurePPSymb3]
DynamicVariables=1
Hidden=1

[MeterTEMP3]
Meter=String
MeasureName=MeasureTempTx3
MeasureName2=MeasureTemp3
MeasureName3=MeasureTempSymb3
Group=Next3
X=140
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C
Hidden=1

[MeterDAY4]
Meter=String
MeasureName=MeasureDay4
Group=Next3
X=212
Y=40
W=70
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Hidden=1

[MeterIcon4]
MeasureName=MeasureIcon4
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=185
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCond4]#CRLF#Précip : [MeasurePP4][MeasurePPSymb4]
DynamicVariables=1
Hidden=1

[MeterTEMP4]
Meter=String
MeasureName=MeasureTempTx4
MeasureName2=MeasureTemp4
MeasureName3=MeasureTempSymb4
Group=Next3
X=212
Y=116
W=70
H=60
FontSize=14
FontColor=255,255,255,255
StringStyle=Bold
StringEffect=SHADOW
FontFace=#FontFace#
StringAlign=center
FontEffectColor=0,0,0,50
AntiAlias=1
Text=%2%3C
Hidden=1