Hi!
I am new to forum, sorry if this is a basic question.
I want to creat a skin that shows:
- Disk Space (total GB free)
- Disk Capacity (total GB of the disk)
- % use and free
Do I have to creat 3 measure of the disk?
Or with one is enough?
I would really apreaciate any help with the code.
Thanks!!
It is currently September 8th, 2024, 1:22 am
Hard Drive Info
-
- Posts: 4
- Joined: July 1st, 2010, 5:42 pm
-
- Posts: 667
- Joined: April 18th, 2010, 2:16 pm
- Location: NY, USA
Re: Hard Drive Info
It'd be easiest with three, if it's even possible with less.
Code: Select all
[MeasureFreeDiskSpace]
Measure=FreeDiskSpace
[MeasureTotalDiskSpace]
Measure=FreeDiskSpace
Total=1
[MeasurePercentUsed]
Measure=Calc
Formula=[MeasureFreeDiskSpace]/[MeasureTotalDiskSpace]
-
- Posts: 4
- Joined: July 1st, 2010, 5:42 pm
Re: Hard Drive Info
Hi JpsCrazy!
Thanks for the reply and the code.
Very clear.
Thanks for the reply and the code.
Very clear.
-
- Posts: 4
- Joined: July 1st, 2010, 5:42 pm
Re: Hard Drive Info
Please one more question:
I created a meter like this and I used your measures:
However, the meter is showing 0.0
Can you please tell me what I am doing wrong?
Thanks!!
I created a meter like this and I used your measures:
Code: Select all
[MeterHDD1Label]
MeasureName=MeasurePercentUsed
Meter=String
FontSize=8
Text="Drive %1"
Can you please tell me what I am doing wrong?
Thanks!!
-
- Posts: 4
- Joined: July 1st, 2010, 5:42 pm
Re: Hard Drive Info
Hi!
I solve the problem by putting the name of the variables without the "[" and "]". The meter now displays the % of disk use.
Thanks!
I solve the problem by putting the name of the variables without the "[" and "]". The meter now displays the % of disk use.
Thanks!