It is currently May 2nd, 2024, 2:58 pm

show the space available on all my hard disks

Get help with installing and using Rainmeter.
iceheart31
Posts: 3
Joined: May 26th, 2012, 10:37 am

show the space available on all my hard disks

Post by iceheart31 »

Hello, I wish to show the space available on all my hard disks, it is has to say A, B and C. I use the skin " Roots and seeds "[url]http: // browse.deviantart.com / customization/? Q=roots * / d4itrq3[/url].
But I can show that a single hard disk has the time.. Could use me?

thank you .
User avatar
AlC
Posts: 329
Joined: June 9th, 2011, 6:46 pm

Re: show the space available on all my hard disks

Post by AlC »

How about measure the free disk space on A,B,C,D ... and add together.
Rainmeter - You are only limited by your imagination and creativity.
iceheart31
Posts: 3
Joined: May 26th, 2012, 10:37 am

Re: show the space available on all my hard disks

Post by iceheart31 »

i've try this

Code: Select all

[MeasureDisk]
Measure=FreeDiskSpace
Drive=C:
Drive=D:
Drive=G:
Drive=F:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskB]
Measure=FreeDiskSpace
Drive=C:
Drive=D:
Drive=G:
Drive=F:
InvertMeasure=0
UpdateDivider=120
But i have always only the D: Hard Disk...
I try also to edit a new .ini with specification for all my disk but i doesn't work ...
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: show the space available on all my hard disks

Post by jsmorley »

iceheart31 wrote: ... But i have always only the D: Hard Disk.
I try also to edit a new .ini with specification for all my disk but i doesn't work ...
You will need to use a different FreeDiskSpace measure for each drive, then use a Calc measure to add them together.

Something like this:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[MeasureDiskC]
Measure=FreeDiskSpace
Drive=C:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskD]
Measure=FreeDiskSpace
Drive=D:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskE]
Measure=FreeDiskSpace
Drive=E:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskF]
Measure=FreeDiskSpace
Drive=F:
InvertMeasure=1
UpdateDivider=120

[MeasureTotal]
Measure=Calc
Formula=(MeasureDiskC + MeasureDiskD + MeasureDiskE + MeasureDiskF)

[MeterTotal]
Meter=String
MeasureName=MeasureTotal
FontSize=12
FontColor=255,255,255
AutoScale=1
NumOfDecimals=1
AntiAlias=1
Text=Used Space: %1
This returns "used" space. If you want "free" space, then just remove the InvertMeasure=1 lines from each measure, and change the Text=Used Space: %1 to Text=Free Space: %1 on the meter.
iceheart31
Posts: 3
Joined: May 26th, 2012, 10:37 am

Re: show the space available on all my hard disks

Post by iceheart31 »

It'is not really why i want to do : I want a barfraph for each disk and not a bargaraph for all ....
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: show the space available on all my hard disks

Post by jsmorley »

iceheart31 wrote:It'is not really why i want to do : I want a barfraph for each disk and not a bargaraph for all ....
What I posted before should have pointed you in the right direction, but here is an example of what you are saying.

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[MeasureDiskC]
Measure=FreeDiskSpace
Drive=C:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskD]
Measure=FreeDiskSpace
Drive=D:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskE]
Measure=FreeDiskSpace
Drive=E:
InvertMeasure=1
UpdateDivider=120

[MeasureDiskF]
Measure=FreeDiskSpace
Drive=F:
InvertMeasure=1
UpdateDivider=120

[MeterDiskCBarBack]
Meter=Image
SolidColor=150,150,150
X=0
Y=0
W=130
H=3

[MeterDiskCBar]
Meter=Bar
MeasureName=MeasureDiskC
BarOrientation=Horizontal
Flip=0
BarColor=0,255,0
X=0
Y=0r
W=130
H=3

[MeterDiskDBarBack]
Meter=Image
SolidColor=150,150,150
X=0
Y=2R
W=130
H=3

[MeterDiskDBar]
Meter=Bar
MeasureName=MeasureDiskD
BarOrientation=Horizontal
Flip=0
BarColor=0,255,0
X=0
Y=0r
W=130
H=3

[MeterDiskEBarBack]
Meter=Image
SolidColor=150,150,150
X=0
Y=2R
W=130
H=3

[MeterDiskEBar]
Meter=Bar
MeasureName=MeasureDiskE
BarOrientation=Horizontal
Flip=0
BarColor=0,255,0
X=0
Y=0r
W=130
H=3

[MeterDiskFBarBack]
Meter=Image
SolidColor=150,150,150
X=0
Y=2R
W=130
H=3

[MeterDiskFBar]
Meter=Bar
MeasureName=MeasureDiskF
BarOrientation=Horizontal
Flip=0
BarColor=0,255,0
X=0
Y=0r
W=130
H=3