;
; Rainmeter configuration file
;

[Rainmeter]
BackgroundMode=0
Author=Nostromo
Update=1000

-------------------------------------
;
; Define all measures first. The measures are used to measure things.
; Normally you create just one measure per thing that is measured even
; if you use different meters to shoe the results.
;
-------------------------------------

[MeasureH]
Measure=Time
Format=%H
[MeasureM]
Measure=Time
Format=%M
[MeasureS]
Measure=Time
Format=%S
[MeasureS1]
Measure=Calc
Formula=(MeasureS-MeasureS%10)/10
[MeasureS2]
Measure=Calc
Formula=MeasureS%10
[MeasureM1]
Measure=Calc
Formula=(MeasureM-MeasureM%10)/10
[MeasureM2]
Measure=Calc
Formula=MeasureM%10
[MeasureH1]
Measure=Calc
Formula=(MeasureH-MeasureH%10)/10
[MeasureH2]
Measure=Calc
Formula=MeasureH%10

-------------------------------------

[MeasureY]
Measure=Time
Format=%Y
[Measuremo]
Measure=Time
Format=%m
[Measured]
Measure=Time
Format=%d
[Measured1]
Measure=Calc
Formula=(Measured-Measured%10)/10
[Measured2]
Measure=Calc
Formula=Measured%10
[Measuremo1]
Measure=Calc
Formula=(Measuremo-Measuremo%10)/10
[Measuremo2]
Measure=Calc
Formula=Measuremo%10
[MeasureY1]
Measure=Calc
Formula=MeasureY%100/10
[MeasureY2]
Measure=Calc
Formula=MeasureY%10
[MeasureY3]
Measure=Calc
Formula=0
[MeasureY4]
Measure=Calc
Formula=2

-------------------------------------

[MeasureSu]
Measure=Uptime
Format=%S

[MeasureSu1]
Measure=Calc
Formula=MeasureSu%10
[MeasureSu2]
Measure=Calc
Formula=((MeasureSu-MeasureSu%10)/10)%10
[MeasureSu3]
Measure=Calc
Formula=((MeasureSu-MeasureSu%100)/100)%10
Formula=((MeasureS-MeasureS%100)/100)%10
[MeasureSu4]
Measure=Calc
Formula=((MeasureSu-MeasureSu%1000)/1000)%10
[MeasureSu5]
Measure=Calc
Formula=((MeasureSu-MeasureSu%10000)/10000)%10
[MeasureSu6]
Measure=Calc
Formula=((MeasureSu-MeasureSu%100000)/100000)%10
[MeasureSu7]
Measure=Calc
Formula=((MeasureSu-MeasureSu%1000000)/1000000)%10


[MeasureSu1b]
Measure=Calc
Formula=(((MeasureSu%86400)%3600)%60)%10
[MeasureSu2b]
Measure=Calc
Formula=(((MeasureSu%86400)%3600)%60)/10
[MeasureSu3b]
Measure=Calc
Formula=((((MeasureSu-(((MeasureSu%86400)%3600)%60))%86400)%3600)/60)%10
[MeasureSu4b]
Measure=Calc
Formula=((((MeasureSu-(((MeasureSu%86400)%3600)%60))%86400)%3600)/60)/10
[MeasureSu5b]
Measure=Calc
Formula=(((MeasureSu-((MeasureSu%86400)%3600))%86400)/3600)%10
[MeasureSu6b]
Measure=Calc
Formula=(((MeasureSu-((MeasureSu%86400)%3600))%86400)/3600)/10
[MeasureSu7b]
Measure=Calc
Formula=((MeasureSu-(MeasureSu%86400))/86400)%10
[MeasureSu8b]
Measure=Calc
Formula=((MeasureSu-(MeasureSu%86400))/86400)/10

-------------------------------------

[MeasureT]
Measure=Calc
Formula=MeasureSTATUS<>4 ? MeasureS%10 : 2
IfEqualAction=!execute [!RainmeterToggleMeter MeterP1.pix] [!RainmeterToggleMeter MeterP2.pix] [!RainmeterToggleMeter MeterP3.pix] [!RainmeterToggleMeter MeterPerct] [!RainmeterToggleMeter MeterSTATUS.pix] [!RainmeterRedraw]
IfEqualValue=3
IfAboveAction=!execute [!RainmeterToggleMeter MeterP1.pix] [!RainmeterToggleMeter MeterP2.pix] [!RainmeterToggleMeter MeterP3.pix] [!RainmeterToggleMeter MeterPerct] [!RainmeterToggleMeter MeterSTATUS.pix] [!RainmeterRedraw]
IfAboveValue=5
IfBelowAction=!execute [!RainmeterToggleMeter MeterP1.pix] [!RainmeterToggleMeter MeterP2.pix] [!RainmeterToggleMeter MeterP3.pix] [!RainmeterToggleMeter MeterPerct] [!RainmeterToggleMeter MeterSTATUS.pix] [!RainmeterRedraw]
IfBelowValue=9

[MeasureMHZ]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=MHZ

[MeasureMh]
Measure=Calc
Formula=MeasureMHZ
[MeasureMh1]
Measure=Calc
Formula=MeasureMh%10
[MeasureMh2]
Measure=Calc
Formula=MeasureMh%100/10
[MeasureMh3]
Measure=Calc
Formula=MeasureMh%1000/100
[MeasureMh4]
Measure=Calc
Formula=MeasureMh/1000

[MeasureSTATUS1]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=STATUS

[MeasureSTATUS]
Measure=Calc
Formula=(MeasureSTATUS1+MeasureACLINE=0) ? 4 : MeasureSTATUS1
IfEqualAction=PLAY D:\Rainmeter\Skins\Dios_Bat\EnergyCritical.wav
IfEqualValue=3
IfAboveAction=!execute [!RainmeterShowMeter MeterP1.pix] [!RainmeterShowMeter MeterP2.pix] [!RainmeterShowMeter MeterP3.pix] [!RainmeterShowMeter MeterPerct] [!RainmeterHideMeter MeterSTATUS.pix] [!RainmeterRedraw]
IfAboveValue=3


[MeasureACLINE]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=ACLINE
IfEqualAction=!execute [!RainmeterToggleMeter MeterSl1.pix] [!RainmeterToggleMeter MeterSl2.pix] [!RainmeterToggleMeter MeterSl3.pix]  [!RainmeterToggleMeter MeterSl4.pix] [!RainmeterToggleMeter MeterAC] [!RainmeterRedraw]
IfEqualValue=0
IfAboveAction=!execute [!RainmeterToggleMeter MeterSl1.pix] [!RainmeterToggleMeter MeterSl2.pix] [!RainmeterToggleMeter MeterSl3.pix]  [!RainmeterToggleMeter MeterSl4.pix] [!RainmeterToggleMeter MeterAC] [!RainmeterRedraw]
IfAboveValue=0

[MeasureLIFETIME]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=LIFETIME
Format=%H%M

[MeasureLt]
Measure=Calc
Formula=MeasureLIFETIME
[MeasureSl1]
Measure=Calc
Formula=(MeasureLt-MeasureLt%60)/60%10
[MeasureSl2]
Measure=Calc
Formula=((MeasureLt-MeasureLt%60)/60)%60/10
[MeasureSl3]
Measure=Calc
Formula=((MeasureLt-MeasureLt%60)/60)/60%10
[MeasureSl4]
Measure=Calc
Formula=((MeasureLt-MeasureLt%60)/60)/60/10

[MeasurePERCENT]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT
IfEqualAction=PLAY D:\Rainmeter\Skins\Dios_Bat\EnergyCritical.wav
IfEqualValue=11

[MeasureP1]
Measure=Calc
Formula=MeasurePERCENT%10
[MeasureP2]
Measure=Calc
Formula=MeasurePERCENT%100/10
[MeasureP3]
Measure=Calc
Formula=MeasurePERCENT/100

-------------------------------------
;
; Define all meters. The meters are the visual representations of the
; measured values. You can bind several meters to a one measure.
;
-------------------------------------

[MeterBackB]
Meter=IMAGE
X=0
Y=3
ImageName=Back.png

[MeterBack]
Meter=IMAGE
X=0
Y=46
ImageName=Back3.png

[MeasureS1.pix]
MeasureName=MeasureS1
Meter=BITMAP
X=160
Y=76
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureS2.pix]
MeasureName=MeasureS2
Meter=BITMAP
X=191
Y=85
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureM1.pix]
MeasureName=MeasureM1
Meter=BITMAP
X=80
Y=53
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureM2.pix]
MeasureName=MeasureM2
Meter=BITMAP
X=111
Y=62
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureH1.pix]
MeasureName=MeasureH1
Meter=BITMAP
X=0
Y=30
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureH2.pix]
MeasureName=MeasureH2
Meter=BITMAP
X=31
Y=39
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

-------------------------------------


[Measured1.pix]
MeasureName=Measured1
Meter=BITMAP
X=111
Y=42
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[Measured2.pix]
MeasureName=Measured2
Meter=BITMAP
X=121
Y=45
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[Measuremo1.pix]
MeasureName=Measuremo1
Meter=BITMAP
X=140
Y=50
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[Measuremo2.pix]
MeasureName=Measuremo2
Meter=BITMAP
X=150
Y=53
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureY2.pix]
MeasureName=MeasureY2
Meter=BITMAP
X=199
Y=67
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureY1.pix]
MeasureName=MeasureY1
Meter=BITMAP
X=189
Y=64
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureY3.pix]
MeasureName=MeasureY3
Meter=BITMAP
X=179
Y=61
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureY4.pix]
MeasureName=MeasureY4
Meter=BITMAP
X=169
Y=58
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

-------------------------------------

[MeasureSu1.pix]
MeasureName=MeasureSu1
Meter=BITMAP
X=67
Y=29
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu2.pix]
MeasureName=MeasureSu2
Meter=BITMAP
X=57
Y=26
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu3.pix]
MeasureName=MeasureSu3
Meter=BITMAP
X=47
Y=23
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu4.pix]
MeasureName=MeasureSu4
Meter=BITMAP
X=37
Y=20
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu5.pix]
MeasureName=MeasureSu5
Meter=BITMAP
X=27
Y=17
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu6.pix]
MeasureName=MeasureSu6
Meter=BITMAP
X=17
Y=14
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu7.pix]
MeasureName=MeasureSu7
Meter=BITMAP
X=7
Y=11
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1


------------------------------------------------------

[MeterSl1.pix]
MeasureName=MeasureSl1
Meter=BITMAP
X=40
Y=80
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1
Hidden=1

[MeterSl2.pix]
MeasureName=MeasureSl2
Meter=BITMAP
X=30
Y=77
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1
Hidden=1

[MeterSl3.pix]
MeasureName=MeasureSl3
Meter=BITMAP
X=16
Y=73
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1
Hidden=1

[MeterSl4.pix]
MeasureName=MeasureSl4
Meter=BITMAP
X=6
Y=70
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1
Hidden=1

[MeterAC]
Meter=IMAGE
X=-2
Y=69
ImageName=AC.png

[MeterSTATUS.pix]
MeasureName=MeasureSTATUS1
Meter=BITMAP
X=54
Y=83
BitmapImage=LV.png
BitmapFrames=5
BitmapZeroFrame=1
Hidden=1

[MeterMh1.pix]
MeasureName=MeasureMh1
Meter=BITMAP
X=36
Y=97
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterMh2.pix]
MeasureName=MeasureMh2
Meter=BITMAP
X=26
Y=94
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterMh3.pix]
MeasureName=MeasureMh3
Meter=BITMAP
X=16
Y=91
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterMh4.pix]
MeasureName=MeasureMh4
Meter=BITMAP
X=6
Y=88
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterMHz]
Meter=IMAGE
X=49
Y=100
ImageName=MHz.png

[MeterP1.pix]
MeasureName=MeasureP1
Meter=BITMAP
X=101
Y=98
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterP2.pix]
MeasureName=MeasureP2
Meter=BITMAP
X=91
Y=95
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterP3.pix]
MeasureName=MeasureP3
Meter=BITMAP
X=81
Y=92
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeterPerct]
Meter=IMAGE
X=109
Y=100
ImageName=Perct.png

------------------------------------------------------

[MeasureSu1b.pix]
MeasureName=MeasureSu1b
Meter=BITMAP
X=328
Y=104
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu2b.pix]
MeasureName=MeasureSu2b
Meter=BITMAP
X=318
Y=101
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu3b.pix]
MeasureName=MeasureSu3b
Meter=BITMAP
X=304
Y=97
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu4b.pix]
MeasureName=MeasureSu4b
Meter=BITMAP
X=294
Y=94
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu5b.pix]
MeasureName=MeasureSu5b
Meter=BITMAP
X=279
Y=90
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu6b.pix]
MeasureName=MeasureSu6b
Meter=BITMAP
X=269
Y=87
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu7b.pix]
MeasureName=MeasureSu7b
Meter=BITMAP
X=255
Y=83
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

[MeasureSu8b.pix]
MeasureName=MeasureSu8b
Meter=BITMAP
X=245
Y=80
BitmapImage=Num2.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1
