Code: Alles auswählen
;###---Today/Tonight---####
[Today]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=http://xml.weather.com/weather/local/#Location#?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<dayf>.*<lsup>(.*)</lsup>.*<day d="0" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"
Disabled=#Today#
[MeasureWeatherDesc1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=9
Substitute=#SubWeatherCond#
Disabled=#Today#
UpdateRate=3600
[MeasureWeatherDay1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=2
Disabled=#Today#
UpdateRate=3600
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=4
Substitute="N/A":"666"
Disabled=#Today#
UpdateRate=3600
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Path=#PathIcons#
Url=[Today]
StringIndex=8
Disabled=#Today#
UpdateRate=3600
[CheckNATemp]
Measure=Calc
Formula=[MeasureWeatherTemp1]
IfBelowValue=665
IfBelowAction=!execute [!RainmeterHideMeter MeterNightTemp1][!RainmeterHideMeter MeterNightDay1][!RainmeterHideMeter MeterNightDesc1][!RainmeterHideMeter MeterNightIcon1][!RainmeterShowMeter MeterTemp1][!RainmeterShowMeter MeterDay1][!RainmeterShowMeter MeterDesc1][!RainmeterShowMeter MeterIcon1]
IfEqualValue=666
IfEqualAction=!execute [!RainmeterHideMeter MeterTemp1][!RainmeterHideMeter MeterDay1][!RainmeterHideMeter MeterDesc1][!RainmeterHideMeter MeterIcon1][!RainmeterShowMeter MeterNightTemp1][!RainmeterShowMeter MeterNightDay1][!RainmeterShowMeter MeterNightDesc1][!RainmeterShowMeter MeterNightIcon1]
DynamicVariables=1
Disabled=#Today#
UpdateRate=3600
[MeasureWeatherNightDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=18
Substitute=#SubWeatherCond#
Disabled=#Today#
UpdateRate=3600
[MeasureWeatherNightTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=5
Disabled=#Today#
UpdateRate=3600
[MeasureWeatherNightIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=17
Disabled=#Today#
UpdateRate=3600
Code: Alles auswählen
;###---Today/Tonight---###
[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=336
Y=-8
H=85
W=85
PreserveAspectRatio=1
Path=#PathIcons#
AntiAlias=1
[MeterNightIcon1]
MeasureName=MeasureWeatherNightIcon
Meter=IMAGE
X=0r
Y=0r
H=85
W=85
PreserveAspectRatio=1
Path=#PathIcons#
AntiAlias=1
Hidden=1
[MeterDay1]
Meter=STRING
X=-98r
Y=0
FontFace=#Font1#
FontColor=#Col06#
FontSize=#FontSize7#
StringAlign=LEFT
StringStyle=BOLD
Text="Heute"
Antialias=1
[MeterNightDay1]
Meter=STRING
X=0r
Y=0r
FontFace=#Font1#
FontColor=#Col06#
FontSize=#FontSize7#
StringAlign=LEFT
StringStyle=BOLD
Text="Heute Nacht"
Antialias=1
Hidden=1
[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=0r
Y=18r
FontFace=#Font1#
FontColor=#ColWhite#
FontSize=#FontSize10#
StringAlign=LEFT
Antialias=1
Postfix="˚"
[MeterNightTemp1]
MeasureName=MeasureWeatherNightTemp
Meter=STRING
X=0r
Y=0r
FontFace=#Font1#
FontColor=#ColWhite#
FontSize=#FontSize10#
StringAlign=LEFT
Antialias=1
Postfix="˚"
Hidden=1
[MeterDesc1]
MeasureName=MeasureWeatherDesc1
Meter=STRING
X=0r
Y=19r
H=16
W=192
FontFace=#Font1#
FontColor=#Col08#
FontSize=#FontSize7#
StringAlign=LEFT
Antialias=1
ClipString=1
[MeterNightDesc1]
MeasureName=MeasureWeatherNightDesc
Meter=STRING
X=0r
Y=0r
H=16
W=192
FontFace=#Font1#
FontColor=#Col08#
FontSize=#FontSize7#
StringAlign=LEFT
Antialias=1
ClipString=1
Hidden=1
