It is currently August 10th, 2020, 3:06 pm

Putting it all on one line

Get help with installing and using Rainmeter.
paulb
Posts: 1
Joined: July 2nd, 2020, 10:29 am

Putting it all on one line

Post by paulb »

Hi,

I wonder if you can help me with this. Here is my memory settings which go into one line on top of the taskbar. What I am trying to do is to also put Network Upload, Network Download and IP address on one line along from it (hope that makes sense). I have tried to modify and play about with Gnometer Network but have been unsuccessful.

My Memory is:-

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Metadata]
Name=Amiga Memory Bar	
Author=Mangaclub	
Information=
Version=0.1
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0

[Variables]

[MeasurePhysMemTotal]
Measure=PhysicalMemory
Total=1
UpdateDivider=3600

[MeasurePhysMemUsed]
Measure=PhysicalMemory
UpdateDivider=2

[MeasurePhysMemFree]
Measure=PhysicalMemory
InvertMeasure=1
UpdateDivider=2

[MeterText]
Meter=String
MeasureName=MeasurePhysMemTotal
MeasureName2=MeasurePhysMemUsed
MeasureName3=MeasurePhysMemFree
FontFace=Trebuchet MS
FontSize=11
FontColor=55,55,55,255
Padding=5,5,5,5
AntiAlias=1
NumOfDecimals=2
AutoScale=1
X=130
Y=0
Text="Total Ram: %1B,    RAM Used: %2B,    RAM Free: %3B"
Last edited by balala on July 2nd, 2020, 11:54 am, edited 1 time in total.
Reason: Please use <code> tags whenever are posting code snippets. It's the </> button.
User avatar
balala
Rainmeter Sage
Posts: 11191
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Putting it all on one line

Post by balala »

paulb wrote:
July 2nd, 2020, 10:33 am
IWhat I am trying to do is to also put Network Upload, Network Download and IP address on one line along from it (hope that makes sense).
Yep, it definitely makes.
Do you have written the needed measures? I suppose you don't have them.
So, you'll need the following measures. Add them to your code:

Code: Select all

[MeasureNetIn]
Measure=NetIn

[MeasureNetOut]
Measure=NetOut

[MeasureIP]
Measure=Plugin
Plugin=SysInfo
SysInfoType=IP_ADDRESS
UpdateDivider=-1
SysInfoData=Best
Having these information collected, you have to show them for instance into the existing String meter ([MeterText]). Replace the existing meter with the following one (see the newly added options - MeasureName4, MeasureName5 and MeasureName6 and the replaced Text option):

Code: Select all

[MeterText]
Meter=String
MeasureName=MeasurePhysMemTotal
MeasureName2=MeasurePhysMemUsed
MeasureName3=MeasurePhysMemFree
MeasureName4=MeasureNetIn
MeasureName5=MeasureNetOut
MeasureName6=MeasureIP
FontFace=Trebuchet MS
FontSize=11
FontColor=55,55,55,255
Padding=5,5,5,5
AntiAlias=1
NumOfDecimals=2
AutoScale=1
X=130
Y=0
Text=Total Ram: %1B,    RAM Used: %2B,    RAM Free: %3B#CRLF#In: %4B,    Out: %5B,    IP Address: %6
Note that beside replacing the Text option, I also removed the not needed quotes.