Bonjour,
Je découvre
Rainmeter .
J'ai configurer un peu tous sans gros probleme .
Par contre impossible de faire conftionner Accuweather .
J'ai regarder un peu partout les solution proposer .
Mettre le code de la ville etc , changer des lien mais rien .
Voici le fichier de " programmation" ( pardonnez moi si c'est pas le terme adapté ) .
;SimpleWeatherVBigTemp
;[BEGIN CONFIG FILE]==============================
[Rainmeter]
;Author=Chewtoy with thanks to Jeffrey Morley for his thorough AccuWeatherAll-skin.
;Version=1.02
;AppVersion=0.14
;This skin is published under GPL license!
Update=1000
DynamicWindowSize=1
[Variables]
FontColor=255, 255, 255, 150
FontColorOver=255, 255, 255, 250
FontFace=Tahoma
BarColor=200, 200, 200, 90
FontSize=8
FontSize2=12
SolidColor=255, 255, 255, 80
Location=FRXX0036
;Be sure to use your own location. You might find it here --> http://www.rainmeter.net/locate_code
;If you want metric measurements instead of imperial (or "English" as some refer to them) be sure to add |&METRIC=1 in the location.
;==========================================================
;[MEASURE WEATHER]=========================================
;==========================================================
[MeasureAccuWeatherCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=
RegExp="(?siU)<temp>(.*)</temp>.*<dist>(.*)</dist>.*<speed>(.*)</speed>.*<pres>(.*)</pres>.*<prec>(.*)</prec>.*<temperature>(.*)</temperature>.*<realfeel>(.*)</realfeel>.*<weathertext>(.*)</weathertext>.*<weathericon>(.*)</weathericon>"
[MeasureAccuWeatherForcast1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=
RegExp="(?siU)<forecast>.*<day number="1">.*<daycode>(.*)</daycode>.*<daytime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<realfeelhigh>(.*)</realfeelhigh>.*"
;This actually shows the current days forecast.
[MeasureAccuWeatherForcast2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=
RegExp="(?siU)<forecast>.*<day number="2">.*<daycode>(.*)</daycode>.*<daytime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<realfeelhigh>(.*)</realfeelhigh>.*"
[MeasureAccuWeatherForcast3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=
RegExp="(?siU)<forecast>.*<day number="3">.*<daycode>(.*)</daycode>.*<daytime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<realfeelhigh>(.*)</realfeelhigh>.*"
[MeasureAccuWeatherForcast4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=
RegExp="(?siU)<forecast>.*<day number="4">.*<daycode>(.*)</daycode>.*<daytime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<realfeelhigh>(.*)</realfeelhigh>.*"
[MeasureAccuWeatherForcast5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?Location=
RegExp="(?siU)<forecast>.*<day number="5">.*<daycode>(.*)</daycode>.*<daytime>.*<txtshort>(.*)</txtshort>.*<weathericon>(.*)</weathericon>.*<hightemperature>(.*)</hightemperature>.*<realfeelhigh>(.*)</realfeelhigh>.*"
;==========================================================
;[GRAPHICS]================================================
;==========================================================
;----AccuWeatherCredit----
[MeterCreditToAccuWeather]
Meter=String
X=0
Y=0
FontColor=#FontColor#
FontFace="FreesiaUPC Bold"
FontSize=10
StringStyle=Bold
AntiAlias=1
Text="AccuWeather.com®"
MouseOverAction=!Execute [!RainmeterShowMeter MeterCreditToAccuWeatherOver][!RainmeterRedraw]
[MeterCreditToAccuWeatherOver]
Meter=String
X=r
Y=r
FontColor=#FontColorOver#
FontFace="FreesiaUPC Bold"
FontSize=10
StringStyle=Bold
AntiAlias=1
Text="AccuWeather.com®"
Hidden=1
LeftMouseDownAction=!Execute ["http://www.accuweather.com/world-index-forecast.asp?partner=rainmeter&loccode="] [!RainmeterHideMeter MeterCreditToAccuWeatherOver] [!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MeterCreditToAccuWeatherOver] [!RainmeterRedraw]
;---Current---
;-=Icon=-
[MeasureIconCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherCurrent]
StringIndex=9
[MeterCurrentIcon]
MeasureName=MeasureIconCurrent
Meter=Image
X=2
Y=13
;-=Temperature=-
[MeasureTempUnit]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherCurrent]
StringIndex=1
[MeasureTempCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherCurrent]
StringIndex=6
[MeterTempCurrent]
Meter=String
MeasureName=MeasureTempCurrent
MeasureName2=MeasureTempUnit
X=R
Y=5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize2#
AntiAlias=1
Text="%1°%2"
;-=Day=-
[MeterDay]
Meter=String
X=R
Y=-5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
Text="Current"
;-=RealFeel=-
[MeasureRealFeelCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherCurrent]
StringIndex=7
[MeterRealFeelCurrent]
Meter=String
MeasureName=MeasureRealFeelCurrent
MeasureName2=MeasureTempUnit
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
Text="RealFeel: %1°%2"
;-=WeatherText=-
[MeasureWeatherTextCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherCurrent]
StringIndex=8
[MeterWeatherTextCurrent]
Meter=String
MeasureName=MeasureWeatherTextCurrent
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
;---Today+1---
;-=Icon=-
[MeasureIcon+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast2]
StringIndex=3
[MeterIcon+1]
MeasureName=MeasureIcon+1
Meter=Image
X=2
Y=3R
;-=Temperature=-
[MeasureTemp+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast2]
StringIndex=4
[MeterTemp+1]
Meter=String
MeasureName=MeasureTemp+1
MeasureName2=MeasureTempUnit
X=R
Y=5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize2#
AntiAlias=1
Text="%1°%2"
;-=Day=-
[MeasureDay+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast2]
StringIndex=1
[MeterDay+1]
Meter=String
MeasureName=MeasureDay+1
X=R
Y=-5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
Text="%1"
;-=RealFeel=-
[MeasureRealFeel+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast2]
StringIndex=5
[MeterRealFeel+1]
Meter=String
MeasureName=MeasureRealFeel+1
MeasureName2=MeasureTempUnit
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
Text="RealFeel: %1°%2"
;-=WeatherText=-
[MeasureWeatherText+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast2]
StringIndex=2
[MeterWeatherText+1]
Meter=String
MeasureName=MeasureWeatherText+1
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
;---Today+2---
;-=Icon=-
[MeasureIcon+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast3]
StringIndex=3
[MeterIcon+2]
MeasureName=MeasureIcon+2
Meter=Image
X=2
Y=3R
;-=Temperature=-
[MeasureTemp+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast3]
StringIndex=4
[MeterTemp+2]
Meter=String
MeasureName=MeasureTemp+2
MeasureName2=MeasureTempUnit
X=R
Y=5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize2#
AntiAlias=1
Text="%1°%2"
;-=Day=-
[MeasureDay+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast3]
StringIndex=1
[MeterDay+2]
Meter=String
MeasureName=MeasureDay+2
X=R
Y=-5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
Text="%1"
;-=RealFeel=-
[MeasureRealFeel+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast3]
StringIndex=5
[MeterRealFeel+2]
Meter=String
MeasureName=MeasureRealFeel+2
MeasureName2=MeasureTempUnit
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
Text="RealFeel: %1°%2"
;-=WeatherText=-
[MeasureWeatherText+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast3]
StringIndex=2
[MeterWeatherText+2]
Meter=String
MeasureName=MeasureWeatherText+2
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
;---Today+3---
;-=Icon=-
[MeasureIcon+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast4]
StringIndex=3
[MeterIcon+3]
MeasureName=MeasureIcon+3
Meter=Image
X=2
Y=3R
;-=Temperature=-
[MeasureTemp+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast4]
StringIndex=4
[MeterTemp+3]
Meter=String
MeasureName=MeasureTemp+3
MeasureName2=MeasureTempUnit
X=R
Y=5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize2#
AntiAlias=1
Text="%1°%2"
;-=Day=-
[MeasureDay+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast4]
StringIndex=1
[MeterDay+3]
Meter=String
MeasureName=MeasureDay+3
X=R
Y=-5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
Text="%1"
;-=RealFeel=-
[MeasureRealFeel+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast4]
StringIndex=5
[MeterRealFeel+3]
Meter=String
MeasureName=MeasureRealFeel+3
MeasureName2=MeasureTempUnit
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
Text="RealFeel: %1°%2"
;-=WeatherText=-
[MeasureWeatherText+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast4]
StringIndex=2
[MeterWeatherText+3]
Meter=String
MeasureName=MeasureWeatherText+3
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
;---Today+4---
;-=Icon=-
[MeasureIcon+4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast5]
StringIndex=3
[MeterIcon+4]
MeasureName=MeasureIcon+4
Meter=Image
X=2
Y=3R
;-=Temperature=-
[MeasureTemp+4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast5]
StringIndex=4
[MeterTemp+4]
Meter=String
MeasureName=MeasureTemp+4
MeasureName2=MeasureTempUnit
X=R
Y=5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize2#
AntiAlias=1
Text="%1°%2"
;-=Day=-
[MeasureDay+4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast5]
StringIndex=1
[MeterDay+4]
Meter=String
MeasureName=MeasureDay+4
X=R
Y=-5r
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
Text="%1"
;-=RealFeel=-
[MeasureRealFeel+4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureAccuWeatherForcast5]
StringIndex=5
[MeterRealFeel+4]
Meter=String
MeasureName=MeasureRealFeel+4
MeasureName2=MeasureTempUnit
X=r
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
Text="RealFeel: %1°%2"
;-=Weather
J'ai essayé de changer ca :
Location=FRXX0036
Se qui correspond au code de localisation pour Dijon d'apres se site :
https://weather.codes/france/
Si quelqu'un pouvais m'aider ca serais avec grand plaisir .
Je suis une 0 pointer en programmation .
Merci d'avance
Afficher la suite