when conected shows down and up speeds and blink the arrows independently when have activity on network.
the .ini needs to be formated as UCS-2 little endian to show the arrow characters.
i need some analisis to my code and some design ideas, pls!!! thanks! (sorry my english)
this widget is very useful for all pc players with bad internet providers (as NET CLARO Brasil)!
Code: Select all
[Rainmeter]
Update=1
BackgroundMode=1
[Variables]
MaxDownload=125.00
MaxUpload=9.99
[Styles]
[StyleNET_01]
FontFace=Segoe UI Regular
FontColor=255,255,255,255
FontSize=9
StringAlign=Left
AntiAlias=1
W=10
H=15
[StyleNET_02]
FontFace=Segoe UI Regular
FontColor=255,255,255,255
FontSize=9
StringAlign=Left
AntiAlias=1
W=65
H=18
[StyleNET_03]
FontFace=Segoe UI Regular
FontColor=255,255,255,190
FontSize=7
StringAlign=Left
AntiAlias=1
W=5
H=15
[Measures]
[MeasurePOINT]
Measure=Plugin
Plugin=SysInfo
SysInfoType=INTERNET_CONNECTIVITY
SysInfoData=Best
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetOption MeterNET_DL_01_TXT Hidden 0][!SetOption MeterNET_UP_01_TXT Hidden 0][!SetOption MeterNET_DL_02_TXT Hidden 0][!SetOption MeterNET_UP_02_TXT Hidden 0][!SetOption MeterNET_DL_03_TXT Hidden 0][!SetOption MeterNET_UP_03_TXT Hidden 0][!UpdateMeter *][!Redraw]
IfBelowValue=0
IfBelowAction=[!SetOption MeterNET_UP_01_TXT Hidden 1][!SetOption MeterNET_DL_01_TXT Hidden 1][!SetOption MeterNET_UP_02_TXT Hidden 1][!SetOption MeterNET_DL_02_TXT Hidden 1][!SetOption MeterNET_UP_03_TXT Hidden 1][!SetOption MeterNET_DL_03_TXT Hidden 1][!UpdateMeter *][!Redraw]
[MeasureNET_DL]
Measure=Plugin
Plugin=UsageMonitor
Category=Network Adapter
Counter=Bytes Received/sec
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=[!SetOption MeterNET_DL_01_TXT FontColor 0,255,0,255][!UpdateMeter *][!Redraw]
IfBelowValue=0.001
IfBelowAction=[!SetOption MeterNET_DL_01_TXT FontColor 0,255,0,170][!UpdateMeter *][!Redraw]
[MeasureNET_UP]
Measure=Plugin
Plugin=UsageMonitor
Category=Network Adapter
Counter=Bytes Sent/sec
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=[!SetOption MeterNET_UP_01_TXT FontColor 255,0,0,255][!UpdateMeter *][!Redraw]
IfBelowValue=0.001
IfBelowAction=[!SetOption MeterNET_UP_01_TXT FontColor 255,0,0,170][!UpdateMeter *][!Redraw]
[MeasureNET_DL_CALC]
Measure=Calc
Formula=(MeasureNET_DL)/1250000
Index=1
DynamicVariables=1
[MeasureNET_UP_CALC]
Measure=Calc
Formula=(MeasureNET_UP)/1250000
Index=1
DynamicVariables=1
[Meters]
[MeterNET_DL_01_TXT]
Meter=String
MeterStyle=StyleNET_01
FontColor=0,255,0,255
X=0
Y=0
Text=βΌ
Hidden=1
[MeterNET_DL_02_TXT]
MeasureName=MeasureNET_DL_CALC
Meter=String
MeterStyle=StyleNET_02
X=18r
Y=0
Text=[MeasureNET_DL_CALC:4]
DynamicVariables=1
Hidden=1
[MeterNET_DL_03_TXT]
Meter=String
MeterStyle=StyleNET_03
X=40r
Y=3
Text=KB/s
Hidden=1
[MeterNET_UP_01_TXT]
Meter=String
MeterStyle=StyleNET_01
FontColor=255,0,0,255
X=0
Y=18
Text=β²
Hidden=1
[MeterNET_UP_02_TXT]
MeasureName=MeasureNET_UP_CALC
Meter=String
MeterStyle=StyleNET_02
X=18r
Y=18
Text=[MeasureNET_UP_CALC:4]
DynamicVariables=1
Hidden=1
[MeterNET_UP_03_TXT]
Meter=String
MeterStyle=StyleNET_03
X=40r
Y=21
Text=KB/s
Hidden=1