Windows 7 Forums


Windows 7: Rainmeter coding

10 Feb 2012   #1

Windows 7 Home Premium x64 SP1
England
 
 
Rainmeter coding

Hi Guys

I'm using rainmeter and have a network meter that is measuring transfer in kB/s however I would like to change this to kbps. I know its just as easy as x8 but would like it to display in kbps and/or Mbps and decimal places.

Any advice much appreciated

This is what I have at present

Code:
[Variables]
skin.Style=Horizontal
@Include=#ROOTCONFIGPATH#SETTINGS\Variables.inc
skin.Width=#width.Network#

; MEASURES ====================================

[mIP]
Measure=Plugin
Plugin=WebParser.dll
URL=http://checkip.dyndns.org
RegExp="(?siU)<body>.*Address: (.*)</body>"
StringIndex=1
UpdateRate=14400

[mDownload]
Measure=NetIn
MinValue=0
MaxValue=#network.MaxDown#

[mUpload]
Measure=NetOut
MinValue=0
MaxValue=#network.MaxUp#

[mTotalDownload]
Measure=NetIn
Cumulative=1

[mTotalUpload]
Measure=NetOut
Cumulative=1

; STYLES ======================================

@Include2=#ROOTCONFIGPATH#SETTINGS\Style#skin.Style#.inc

[sPopup]
Hidden=0

[sTextL]
Hidden=0

[sTextR]
NumOfDecimals=0
AutoScale=1
Text="%1B"
Hidden=0

[sSeperator]
Hidden=0

; METERS ======================================

[Line]
Meter=IMAGE
MeterStyle=sLine

[Icon]
Meter=IMAGE
MeterStyle=sIcon
ImageName=Network.png
LeftMouseUpAction=!Execute [control.exe ncpa.cpl]
RightMouseUpAction=!Execute [!RainmeterResetStats]
ToolTipText="Open Network Connections (right-click to reset)"
MouseActionCursor=1

[Title]
Meter=STRING
MeterStyle=sTitle
Text=Network

[Subtitle]
Meter=STRING
MeterStyle=sSubtitle
MeasureName=mIP

[Popup]
Meter=IMAGE
MeterStyle=sPopup
H=((#h.Other#*4)+25)

[Item1Label]
Meter=STRING
MeterStyle=sTextL
Y=#h.Item#
Text="Upload"

[Item1Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mUpload

[Item1Bar]
Meter=BAR
MeterStyle=sSeperator
MeasureName=mUpload

[Item2Label]
Meter=STRING
MeterStyle=sTextL
Y=5r
Text="Download"

[Item2Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mDownload

[Item2Bar]
Meter=BAR
MeterStyle=sSeperator
MeasureName=mDownload

[Item3Label]
Meter=STRING
MeterStyle=sTextL
Y=5r
Text="Total Upload"

[Item3Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mTotalUpload

[Item3Bar]
Meter=IMAGE
MeterStyle=sSeperator

[Item4Label]
Meter=STRING
MeterStyle=sTextL
Y=5r
Text="Total Download"

[Item4Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mTotalDownload

[Item4Bar]
Meter=IMAGE
MeterStyle=sSeperator

[Gap]
Meter=IMAGE
MeterStyle=sGap
Danny

My System SpecsSystem Spec

Reply

 Rainmeter coding problems?



Thread Tools



Similar help and support threads for: Rainmeter coding
Thread Forum
Weird problem with Norton internet security and coding Software
Intros and coding Chillout Room
Microsoft.NET and C# coding Software
Need Help Coding a VBScript General Discussion
Dangerous coding errors revealed Chillout Room


All times are GMT -5. The time now is 02:33 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32