View Single Post
Staro 24.02.2009., 20:30   #4853
Misak
Premium
Moj komp
 
Misak's Avatar
 
Datum registracije: Nov 2005
Lokacija: Donji Miholjac
Postovi: 391
Citiraj:
Autor -POP- Pregled postova
Sad mi ništa ne piše... De mi cijeli LOG!
Code:
;===========================================
;  Rainmeter configuration file
;===========================================

[Rainmeter]
Author=Jiri Mahel
AppVersion=1.2
Update=10000
;===========================================
;  Weather Dysplay
;===========================================

[Variables]
; nastaveni UpdateDivider pri Update=60000 na 1hod
update.Spd=60
fontColor.Text=255, 255, 255, 160
bar.color=255, 255, 255, 50
bar.color=255, 255, 255, 50
graph.line1=255, 255, 255, 75
graph.line2=255, 255, 255, 37
border.color=255, 255, 255, 75

FontName=Tahoma
FontHeight=8
AntiAlias=1

; define interner Viewer
eVIEWER=explorer.exe

;Please replace your location code of Weather.com below, e.g: Brno is EZXX0002.
;You can check it on Weather.com or Google.
; Osijek
dest1=HRXX0003
; define Fahrenheit Scale = f or Celsius = m
SCALE=m
; define show Scale Mark
SCALE.txt=°C
; !!!!! path is define HUD.Vision directory for changed 2 weather destination
dir=C:\Program Files\Rainmeter\Skins\HUD.Vision\White
;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
; updated weather ~15minut
UpdateRate=90
Url=http://xoap.weather.com/weather/local/#dest1#?cc=*&unit=#SCALE#&dayf=6
RegExp="(?siU)<weather ver="(.*)">.*<dnam>(.*),.*<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=0
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon][!RainmeterShowMeter MeterTempZitra_Lo][!RainmeterShowMeter MeterTempPozitri_Lo][!RainmeterShowMeter MeterTempPopozitri_Lo][!RainmeterShowMeter MeterTempDnes][!RainmeterShowMeter MeterTempZitra][!RainmeterShowMeter MeterTempPozitri][!RainmeterShowMeter MeterTempPopozitri]
IfBelowValue=2
IfBelowAction=!execute [!RainmeterShowMeter MeterIconNA][!RainmeterHideMeter MeterTempZitra_Lo][!RainmeterHideMeter MeterTempPozitri_Lo][!RainmeterHideMeter MeterTempPopozitri_Lo][!RainmeterHideMeter MeterTempDnes][!RainmeterHideMeter MeterTempZitra][!RainmeterHideMeter MeterTempPozitri][!RainmeterHideMeter MeterTempPopozitri]
;Debug=1
;--------------------------------

[MeasureWeatherDestination]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=2

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

[MeasureWeatherTemp1_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14

;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

[MeasureWeatherTemp2_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=25

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

;-------------------------

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34

[MeasureWeatherTemp3_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=36

;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

;================================================================

[refresh.weather]
Meter=Button
ButtonImage=refresh.png
X=4
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]

[cara1]
Meter=IMAGE
X=0
Y=19
W=320
H=1
SolidColor=#border.color#

[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=40
Y=14r
W=40
H=40

[MeterIcon]
Hidden=1
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=0r
Y=0r
W=40
H=40
LeftMouseDownAction=!execute ["#eVIEWER#" "http://www.weather.com/outlook/travel/businesstraveler/local/#dest1#"]


[MeterDnes]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=13r
Y=-31r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempDestinace]
MeasureName=MeasureWeatherDestination
Meter=STRING
X=-7r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempDnes]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterZitra]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempZitra_Lo]
MeasureName=MeasureWeatherTemp1_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempZitra]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterPozitri]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1


[MeterTempPozitri_Lo]
MeasureName=MeasureWeatherTemp2_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempPozitri]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterPopozitri]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempPopozitri_Lo]
MeasureName=MeasureWeatherTemp3_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempPopozitri]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
__________________
.....:::: There is no place like 127.0.0.1 ::::.....
Misak je offline   Reply With Quote