It is currently September 21st, 2020, 4:36 am

Help with achieving a simple skin

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

Re: Help with achieving a simple skin

Post by balala »

Jose Hidalgo wrote: October 16th, 2018, 8:56 pm 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.
I wish you to get better.
Jose Hidalgo wrote: October 16th, 2018, 8:56 pm Problem solved, thank you guys. It seems to work perfectly now.
About the posted code, it seems it works all right, but I had to modify it a bit, because the icons didn't appear. It seems you've moved your icons into the @Resources\Icons folder, which is a very good step. The best place for all this kind of resources is really the @Resources folder.

One single small issue there is: if the skin is placed over a light background, the temperatures are hardly visible. This issue has a very simple solution: just replace the FontEffectColor=0,0,0,50 option of the String meters with FontEffectColor=0,0,0. This makes the fonts more visible even on white background.

And one more: you never have to include the options into quotes. They are not needed, being ignored by Rainmeter. For example you don't need the quotes into the Path option of the Image meters. So, there is no need for this: Path="#@#Icons" , Path=#@#Icons is completely enough. Details for example:
https://forum.rainmeter.net/viewtopic.php?f=5&t=27866&p=144784&hilit=quotes+setoption#p144784
https://forum.rainmeter.net/viewtopic.php?f=5&t=27375&p=142041&hilit=quotes+setoption#p142041
User avatar
Jose Hidalgo
Posts: 44
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Post by Jose Hidalgo »

balala wrote: October 17th, 2018, 1:00 pmAbout the posted code, it seems it works all right
Indeed it does! Hi everybody, it's been some time :)

I just wanted to report that this skin has suddenly stopped working O.O Now this has happened a couple of times in the past (probably because of Internet problems), but the service was restored within a couple hours. But in this case, it has stopped working since yesterday, so I'm starting to worry a bit :
2020.05.27 - 11.54.26.png
I haven't done anything and I haven't modified the skin. It hast just stopped working, and a Windows reboot doesn't change anything.
Any thoughts ? Has there been any changes on the weather service side ? :confused:
You do not have the required permissions to view the files attached to this post.
User avatar
xenium
Posts: 554
Joined: January 4th, 2018, 9:52 pm

Re: Help with achieving a simple skin

Post by xenium »

Jose Hidalgo wrote: May 27th, 2020, 10:06 am Indeed it does! Hi everybody, it's been some time :)

I just wanted to report that this skin has suddenly stopped working O.O Now this has happened a couple of times in the past (probably because of Internet problems), but the service was restored within a couple hours. But in this case, it has stopped working since yesterday, so I'm starting to worry a bit :

2020.05.27 - 11.54.26.png

I haven't done anything and I haven't modified the skin. It hast just stopped working, and a Windows reboot doesn't change anything.
Any thoughts ? Has there been any changes on the weather service side ? :confused:
https://forum.rainmeter.net/viewtopic.php?f=118&t=35342 or
https://forum.rainmeter.net/viewtopic.php?f=27&t=34734&start=150#p177080
User avatar
Jose Hidalgo
Posts: 44
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Post by Jose Hidalgo »

Wow! I see that this is a big issue on this board at the moment! O.O I'll try the tricks and report in the relevant topic(s). Many thanks!
User avatar
xenium
Posts: 554
Joined: January 4th, 2018, 9:52 pm

Re: Help with achieving a simple skin

Post by xenium »

Jose Hidalgo wrote: May 27th, 2020, 11:49 pm Wow! I see that this is a big issue on this board at the moment! O.O I'll try the tricks and report in the relevant topic(s). Many thanks!
Before following the instructions do not forget to close the Rainmeter ! (right click on the Rainmeter icon in the taskbar and choose Exit)
User avatar
Jose Hidalgo
Posts: 44
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Post by Jose Hidalgo »

So, I followed the instructions and it worked for a while... until now. :D
I have been following the related topics and I understand this is an issue related to a new site structure from weather.com.
Apparently they have finished (or are finishing) migrating to their new structure, which means hopefully our skins can be adapted again.
@xenium , I hope you can find the time to adapt this skin too, not a hurry. :oops:
The "final" version that has been working like a charm until now is this one :

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
A million thanks in advance ! :great:
User avatar
Jose Hidalgo
Posts: 44
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Post by Jose Hidalgo »

Hi guys, any thoughts on this ? I'm starting to really miss my skin... :(
User avatar
Jose Hidalgo
Posts: 44
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Post by Jose Hidalgo »

Can somebody please help here, or point me in the right direction ? Thank you ! :welcome:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4112
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help with achieving a simple skin

Post by eclectic-tech »

Jose Hidalgo wrote: June 22nd, 2020, 12:36 am Can somebody please help here, or point me in the right direction ? Thank you ! :welcome:
Download and install JSMorley's Weather.com skin from here.

Open Windows file explorer and copy the following files from 'Weather.com/@Resources' folder of JSMorley's skin to your skin's '@Resource' folder:
WeatherComJSONLanguage.inc
WeatherComJSONMeasures.inc
WeatherComJSONVariables.inc


Copy the code below and paste it in your editor. Save it with a new skin name in the same folder as the skin that is not working; name it anything you want, but I would go with something like: 'WeatherFrench.ini'.

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==================================

@Include2=#@#WeatherComJSONVariables.inc
@Include3=#@#WeatherComJSONMeasures.inc
@Include4=#@#WeatherComJSONLanguage.inc

;===============================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=@CurrentIcon
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=41
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[@CurrentObservationDate] [@CurrentObservationTime]#CRLF#[@CurrentConditions]#CRLF##FeelsLike# : [@CurrentFeelsLike]°#CRLF##Wind# : [@CurrentWindSpeed]#CRLF##Humidity# : [@CurrentHumidity]%#CRLF##Pressure# : [@CurrentPressure]#CRLF##Visibility# : [@CurrentVisibilityDistance]
DynamicVariables=1

[MeterTEMP]
Meter=String
MeasureName=@CurrentTemperature
;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°C

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

[MeterDAY0]
Meter=String
MeasureName=@ForecastDay2DayShort
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=@ForecastDay2DayIcon
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=114
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[@ForecastDay2DayConditions]#CRLF#Précip : [@ForecastDay2DayPrecipitationPercent]%
DynamicVariables=1

[MeterTEMP0]
Meter=String
MeasureName=@ForecastDay2DayTemperature
; 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=%1°C

[MeterDAY1]
Meter=String
MeasureName=@ForecastDay3DayShort
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=@ForecastDay3DayIcon
Meter=IMAGE
Group=First3
Path="#@#Icons"
X=185
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[@ForecastDay3DayConditions]#CRLF#Précip : [@ForecastDay3DayPrecipitationPercent]%
DynamicVariables=1

[MeterTEMP1]
Meter=String
MeasureName=@ForecastDay3DayTemperature
; 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=%1°C

[MeterDAY2]
Meter=String
MeasureName=@ForecastDay4DayShort
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=@ForecastDay4DayIcon
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=41
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[@ForecastDay4DayConditions]#CRLF#Précip : [@ForecastDay4DayPrecipitationPercent]%
DynamicVariables=1
Hidden=1

[MeterTEMP2]
Meter=String
MeasureName=@ForecastDay4DayTemperature
; 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=1°C
Hidden=1

[MeterDAY3]
Meter=String
MeasureName=@ForecastDay5DayShort
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=@ForecastDay5DayIcon
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=113
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[@ForecastDay5DayConditions]#CRLF#Précip : [@ForecastDay5DayPrecipitationPercent]%
DynamicVariables=1
Hidden=1

[MeterTEMP3]
Meter=String
MeasureName=@ForecastDay5DayTemperature
; 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=%1°C
Hidden=1

[MeterDAY4]
Meter=String
MeasureName=@ForecastDay6DayShort
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=@ForecastDay6DayIcon
Meter=IMAGE
Group=Next3
Path="#@#Icons"
X=185
Y=58
ToolTipTitle=DÉTAILS
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[@ForecastDay6DayConditions]#CRLF#Précip : [@ForecastDay6DayPrecipitationPercent]%
DynamicVariables=1
Hidden=1

[MeterTEMP4]
Meter=String
MeasureName=@ForecastDay6DayTemperature
; 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=%1°C
Hidden=1
Refresh All or restart Rainmeter.

Celsius and Translations

You will need to edit '@Resources\WeatherComJSONVariables.inc' to set your LocationCode to 'LocationCode=FRXX0055' and change 'Language=en-US' to 'Language=fr-FR'. Save the file.

In order to see all labels in French, you will need to edit '@Resources\WeatherJSONLanguage.inc' and follow the instructions to translate the terms to French. You need to add 1 new keyword=value... 'Visibility=Visibility' and then edit after the equal sign to show 'Visibility' in French.
Save that file and refresh/load the weather skin you named above; 'WeatherFrench.ini'.

This should get the skin working again. If you are still having issues, please package the entire skin folder and post it here so we have all the necessary images to troubleshoot.
User avatar
Jose Hidalgo
Posts: 44
Joined: September 7th, 2018, 4:47 pm

Re: Help with achieving a simple skin

Post by Jose Hidalgo »

eclectic-tech wrote: June 24th, 2020, 1:38 amDownload and install JSMorley's Weather.com skin from here.
Hi @eclectic-tech , thanks for reaching out. :)
I have downloaded JSMorley's skin. It wouldn't install on my Rainmeter 4.2, so I have downloaded and installed the latest 4.4-r3380-beta.
So far nothing works, including none of my existing skins.
The log says "could not initialize the render target".

Some research shows that it could be related to my graphics driver ( https://forum.rainmeter.net/viewtopic.php?t=32221 ). But here's the problem : my graphics driver CAN'T be updated anymore ! :o It's an IGP from an i3 Core 530, and Intel doesn't update it anymore. It works perfectly, I just can't update it.

This brings some questions :
  • Why would the latest Rainmeter beta drop support for my IGP, when 4.2 was supporting it just fine ? O.O
  • Should I revert to 4.2 ?
EDIT 1 : I have reverted to 4.2, and now ALL the skins load, including JSMorley's one. And it even works on 4.2 ! O.O Of course my skin doesn't work yet, but now I'll be able to resume your instructions to make it work, while staying in 4.2.

EDIT 2 : I have followed your instructions, and MY WEATHER SKIN WORKS AGAIN ! I'M SO HAPPY !! THANK YOUUUUU !!! :great: :thumbup:
But now... am I condemned to stay forever in 4.2 ?... :confused:
Maybe my issue could be brought to the attention of Rainmeter devs, so they can try NOT to break compatibility with older IGPs like mine ?
Last edited by Jose Hidalgo on June 24th, 2020, 4:55 pm, edited 10 times in total.