I'm using "Rainmeter 2.1.0 beta" on "Windows 7 Home Premium"
Here's the Code for the part of the skin I need help with:
Code: Select all
;[GATHER NETWORK]=================================
[MeasureNetIn]
Measure=NetIn
Interface=3
UpdateDivider=2
[MeasureNetOut]
Measure=NetOut
Interface=3
UpdateDivider=2
[MeasureBytesIn]
Measure=Plugin
Plugin=PerfMon.dll
PerfMonObject=Network Interface
PerfMonCounter=Bytes Received/sec
PerfMonInstance=Realtek RTL8168B/8111B Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
PerfMonDifference=0
UpdateDivider=2
;[NETWORK LABEL]==================================
[MeterNetwork]
Meter=STRING
X=15
Y=25r
FontColor=#FontColor#
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=#FontFace#
Text="Network:"
AntiAlias=1
;[NETWORK HOSTNAME]===============================
[MeasureHost]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=HOST_NAME
UpdateDivider=30
[MeterHost]
MeasureName=MeasureHost
Meter=STRING
X=15
Y=15r
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=8StringAlign=LEFT
FontFace=#FontFace#
Text="Host: %1"
AntiAlias=1
;[NETWORK WEB IP]=================================
[MeasureIPWeb]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=http://ipdetect.dnspark.com/
RegExp="(?siU)<body>(.+)Address: (.+)</body>"
StringIndex=2
UpdateRate=300
[MeterWANIPLabel]
Meter=STRING
X=0r
Y=15r
FontColor=#FontColor#
FontSize=8
FontFace=#FontFace#
AntiAlias=1
Prefix="IP:"
[MeterWANIP]
Meter=STRING
MeasureName=MeasureIPWeb
X=104r
Y=0r
StringAlign=Right
FontColor=#FontColor#
FontSize=8
FontFace=#FontFace#
AntiAlias=1
;[NETWORK INBOUND TRAFFIC]========================
[MeterNetInPre]
Meter=STRING
X=16
Y=20r
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=#FontFace#
AutoScale=1
AntiAlias=1
Text="DN:"
[MeterNetInText]
MeasureName=MeasureNetIn
Meter=STRING
X=44
Y=0r
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=#FontFace#
AutoScale=1
NumOfDecimals=2
AntiAlias=1
Text="%1B"
[MeterNetInGraph]
Meter=Line
MeasureName=MeasureNetIn
Percentual=1
X=110
Y=0r
H=12
W=40
LineCount=1
AutoScale=1
LineColor=255, 255, 255, 64
;[NETWORK OUTBOUND TRAFFIC]=======================
[MeterNetOUTPre]
Meter=STRING
X=16
Y=15r
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=#FontFace#
AutoScale=1
AntiAlias=1
Text="UP:"
[MeterNetOutText]
MeasureName=MeasureNetOut
Meter=STRING
X=44
Y=0r
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=#FontFace#
AutoScale=1
NumOfDecimals=2
AntiAlias=1
Text="%1B"
[MeterNetOutGraph]
Meter=Line
MeasureName=MeasureNetOut
Percentual=1
X=110
Y=0r
H=12
W=40
AutoScale=1
LineCount=1
LineColor=255, 255, 255, 64
(I'm using the System Info)
And I took a quick screenshot of the skin: http://i.imgur.com/yzvRm.png
Here is another of the entire skin to show that it works: http://i.imgur.com/NeNGl.jpg
(I'll attach them to the post as well)