Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Rainmeter coding

10 Feb 2012   #1

Windows 7 Home Premium x64 SP1
 
 
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





Thread Tools



Similar help and support threads for2: Rainmeter coding
Thread Forum
[REQ] Coding Tutorial Website Chillout Room
Portable Coding Notepad... Chillout Room
Character coding problem on W7 Pro x64 General Discussion
Intros and coding Chillout Room
Microsoft.NET and C# coding Software
Need Help Coding a VBScript General Discussion
Dangerous coding errors revealed Chillout Room

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 05:35 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33