I've tried my very hardest to not post on here for awhile... but I've hit a brick wall.
I'm building off of another skin: http://customize.org/rainmeter/skins/70480
I'm trying to change the HP numbers into actual values, and I've pretty much figured it out. (I edited out the HP values that were already there)
The only thing is I don't know how to make Rainmeter detect the total space in a drive, and show the space used.
My example is for HD01.
I believe I need to incorporate the second code in place of the 55.7 for 'Text=%1/ 55.7' (%1 being space used; 55.7 being total space) but I have absolutely no idea how.
Help? [SOLVED]
Also, I have same problem for RAM. [Not solved]
I believe you have it correct for measuring the total size of the drive. To insert another measure into the string, just put in another measurename field (ie. MeasureName2=) going in sequential order, then place the cooresponding number in the text field (%2).
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
For ram, try measure both free space and allocated space and adding them together using a calc measure to get the total space available. I don't know how accurate this would be as I'm guessing the original measures would round up and down.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
...well that was outrageously simple.
I did another Calc to get a Gb value instead of bytes, but it worked as simply as stated.
Thanks!
And for the RAM, I got it, but it's slightly inaccurate. It's constantly at 990Mb, but I know I have 1Gb of RAM. (990 would be weird to see... It should be 1024.)
Improvements? I think adding 34 to the calc value will work for me, but not another person.
Where on Earth did 1073742 come from? I'm guessing that you're trying to show the amount of RAM in MB, correct? If that's the case then the number you should be dividing by is 1024*1024 = 1048576. If I had to guess I'd say that you accidentally multiplied something by 1.024, which would give that number if you rounded.
You have a very good point.
It's late. And I'm not thinking very well.
Earliar, I just remembered 1Kb=1024bytes. Not 1000.
So what did I do to get Mb? Took three digits off of Gb of course. Thought I woulda learned something, right?
Thanksss.
That's because you're using a formula to show total ram (Total = Free + Used). As used and free are aproximate to some decimal, this total differ from your real ram total. In my image you can see that if you add free and used, the result will be 1.99 Gb, not 2.0 Gb
To display the real total, use: