;
; Rainmeter configuration file
;

[Rainmeter]
BackgroundMode=1
Author=Nostromo
Update=500

-------------------------------------
;
; 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.
;
-------------------------------------

[MeasureStrength]
Measure=Plugin
Plugin=Plugins\WirelessInfo.dll
WirelessInfoType=STRENGTH
WirelessInfoData=1
WirelessMin=90 ; -90dBm
WirelessMax=50 ; -50dBm

[MeasureWEP]
Measure=Plugin
Plugin=Plugins\WirelessInfo.dll
WirelessInfoType=WEP
WirelessInfoData=1
IfEqualAction=!RainmeterHideMeter MeterWEP1
IfEqualValue=0

[MeasureSSID]
Measure=Plugin
Plugin=Plugins\WirelessInfo.dll
WirelessInfoType=SSID
WirelessInfoData=1

[MeasureBANDWIDTH]
Measure=Plugin
Plugin=Plugins\WirelessInfo.dll
WirelessInfoType=BANDWIDTH
WirelessInfoData=1

[MeasureSS1]
Measure=Calc
Formula=MeasureSS2=MeasureStrength ? MeasureSS1+1 : 0
IfEqualAction=!execute [!RainmeterHideMeter MeterWifiSSID] [!RainmeterHideMeter MeterWEP1] [!RainmeterHideMeter MeterBack] [!RainmeterHideMeter MeterWifiSTRENGTH] [!RainmeterHideMeter MeterWifiBANDWIDTH] [!RainmeterRedraw]
IfEqualValue=20
IfAboveAction=!RainmeterHideMeter MeterWEP1
IfAboveValue=20
[MeasureSS3]
Measure=Calc
Formula=MeasureSS1<MeasureSS4 ? 7 : 0
IfEqualAction=!execute [!RainmeterShowMeter MeterWifiSSID] [!RainmeterShowMeter MeterWEP1] [!RainmeterShowMeter MeterBack] [!RainmeterShowMeter MeterWifiSTRENGTH] [!RainmeterShowMeter MeterWifiBANDWIDTH] [!RainmeterRedraw]
IffEqualValue=7
[MeasureSS4]
Measure=Calc
Formula=MeasureSS1
[MeasureSS2]
Measure=Calc
Formula=MeasureStrength

[MeasureCPU]
Measure=CPU

[MeasureC1]
Measure=Calc
Formula=MeasureCPU%10
[MeasureC2]
Measure=Calc
Formula=(MeasureCPU-MeasureCPU%10)/10%10
[MeasureC3]
Measure=Calc
Formula=(MeasureCPU-MeasureCPU%100)/100


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

[MeterBackC]
Meter=IMAGE
X=0
Y=0
ImageName=BackC.png

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

[MeterWifiSSID]
Meter=STRING
MeasureName=MeasureSSID
X=345
Y=0
FontColor=231, 33, 55
StringStyle=NORMAL
FontSize=8
StringAlign=Right
FontFace=Babylon5
AntiAlias=1

[MeterWifiSTRENGTH]
Meter=STRING
MeasureName=MeasureStrength
X=370
Y=0
FontColor=231, 33, 55
StringStyle=NORMAL
FontSize=8
StringAlign=Left
FontFace=Babylon5
Prefix="Strength : "
PostFix="%"
AntiAlias=1

[MeterWEP1]
Meter=STRING
X=490
Y=0
FontColor=231, 33, 55
StringStyle=NORMAL
FontSize=8
StringAlign=Left
FontFace=Babylon5
Prefix="WEP "
AntiAlias=1
Hidden=1

[MeterWifiBANDWIDTH]
Meter=STRING
MeasureName=MeasureBANDWIDTH
X=600
Y=0
FontColor=231, 33, 55
StringStyle=NORMAL
FontSize=8
StringAlign=Right
FontFace=Babylon5
PostFix=" Mb/s"
AntiAlias=1


[MeasureC1.pix]
MeasureName=MeasureC1
Meter=BITMAP
X=69
Y=-2
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1

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

[MeasureC3.pix]
MeasureName=MeasureC3
Meter=BITMAP
X=-7
Y=10
BitmapImage=Num3.png
BitmapFrames=10
BitmapZeroFrame=1
BitmapExtend=1



[MeterHide]
Meter=STRING
MeasureName=MeasureSS1
X=-33
Y=0
FontColor=231, 33, 55
StringStyle=NORMAL
FontSize=8
StringAlign=Right
FontFace=Babylon5
