It is currently January 17th, 2019, 1:38 am

Displaying Free Space instead of Used

Get help with installing and using Rainmeter.
HarryStottle
Posts: 7
Joined: December 30th, 2018, 6:46 pm

Displaying Free Space instead of Used

HarryStottle » January 2nd, 2019, 1:38 pm

initially posted this query in response to
https://forum.rainmeter.net/viewtopic.php?f=27&t=30150

because I failed to spot the "New Topic" button.

In short, I agree with Eclectic Tech (on that thread). Why not show both or provide a choice? Personally, I only need to see Total and Free. "Used" is of no use to me.

So I hacked my "17Disks.ini" and got it displaying the free space instead of Used. (changed "InvertMeasure=1" to "InvertMeasure=0")
What I couldn't figure out is how to get it to say "Free" where it now says "used".

Suggestions?
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3129
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Displaying Free Space instead of Used

eclectic-tech » January 2nd, 2019, 3:57 pm

https://forum.rainmeter.net/viewtopic.php?p=157218#p157062
Previous Reply;;Use a text editor that has search capabilities (like Notepad++) and search for "used" and replace them with "Free".

Or you can post your code here and I am sure it can be modified.

Welcome to the forum! :welcome:
User avatar
balala
Rainmeter Sage
Posts: 7426
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Displaying Free Space instead of Used

balala » January 2nd, 2019, 4:42 pm

Am I missing something? The package from start is for free disk space. Your own screenshot proves this on the provided link. :confused:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3129
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Displaying Free Space instead of Used

eclectic-tech » January 2nd, 2019, 7:07 pm

balala wrote:
January 2nd, 2019, 4:42 pm
Am I missing something? The package from start is for free disk space. Your own screenshot proves this on the provided link. :confused:
Yes, my skin is FreeSpace, but the OP is asking to change HIS/HER skin.

They said they already modified it to show FreeSpace, but could not figure out what to do about changing the display. They said they want to replace "used", so it says "Free".

Perhaps I misunderstood, which is why I asked them to post the code.
User avatar
balala
Rainmeter Sage
Posts: 7426
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Displaying Free Space instead of Used

balala » January 2nd, 2019, 8:03 pm

eclectic-tech wrote:
January 2nd, 2019, 7:07 pm
Yes, my skin is FreeSpace, but the OP is asking to change HIS/HER skin.

They said they already modified it to show FreeSpace, but could not figure out what to do about changing the display. They said they want to replace "used", so it says "Free".

Perhaps I misunderstood, which is why I asked them to post the code.
Oh yeah, now I see he's talking about a skin called 17Disks.ini, right? Then yes, we should have to see the code.
Sorry I didn't realize... :uhuh:
HarryStottle
Posts: 7
Joined: December 30th, 2018, 6:46 pm

Re: Displaying Free Space instead of Used

HarryStottle » January 3rd, 2019, 11:34 am

eclectic-tech wrote:
January 2nd, 2019, 7:07 pm
Yes, my skin is FreeSpace, but the OP is asking to change HIS/HER skin.

They said they already modified it to show FreeSpace, but could not figure out what to do about changing the display. They said they want to replace "used", so it says "Free".

Perhaps I misunderstood, which is why I asked them to post the code.
Greetings eclectic.

You did not misunderstand. That's exactly what I'm trying to do.

And you've just pushed me into solving the problem!

My initial reaction was to write that I couldn't see any code which produced the output
[drive] [freespace]/[total] used

but I then went to check the ini file one more time and found it:
By changing
Text=%1B/%2B used
to
Text=%1B/%2B Free

I now get exactly what I'm after.

Thankyou comrades

Harry
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3129
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Displaying Free Space instead of Used

eclectic-tech » January 3rd, 2019, 12:58 pm

8-)