xboxscene.org forums

Author Topic: Free Hdd Space  (Read 39 times)

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Free Hdd Space
« on: August 06, 2003, 11:33:00 AM »

QUOTE (Kernal @ Aug 6 2003, 03:28 PM)
I want to display the free HD space on C and F if I use the <LayoutElement Type="Text" Source="ShortDriveCFree"> code
I get a result of "C: 5000,000KB free" hpw can I make this abreviated to "500,000KB"

Thanks

Kernal

Hmmmm..... well, I'll take a look and see what I've got in there tonight.
Logged

Cofi

  • Archived User
  • Full Member
  • *
  • Posts: 189
Free Hdd Space
« Reply #1 on: August 06, 2003, 01:43:00 PM »

QUOTE (Kernal @ Aug 6 2003, 09:28 PM)
I want to display the free HD space on C and F if I use the <LayoutElement Type="Text" Source="ShortDriveCFree"> code
I get a result of "C: 5000,000KB free" hpw can I make this abreviated to "500,000KB"

Thanks

Kernal

Hhahahah thats easy, just put dummy files that are 4,500,000 kB.
5,000,000 kB - 4,500,000 kB = 500,000 kB
Then you will have that space you wanted. But I suggest you to use for something a bit more clever...
Logged

Cofi

  • Archived User
  • Full Member
  • *
  • Posts: 189
Free Hdd Space
« Reply #2 on: August 06, 2003, 11:40:00 PM »

Well mine shows up in MB, do you have the latest version of mxm?
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Free Hdd Space
« Reply #3 on: August 07, 2003, 03:55:00 AM »

QUOTE (Kernal @ Aug 7 2003, 05:08 AM)
Yes I have the latest version, think this will be created by a small alteration to the coding behind MXM.

Yeah, the "Free" is hard coded. I'll have to create a set of "Bare" options in a later release.
Logged

Kernal

  • Archived User
  • Jr. Member
  • *
  • Posts: 60
Free Hdd Space
« Reply #4 on: August 07, 2003, 09:49:00 AM »

QUOTE (BenJeremy @ Aug 7 2003, 12:55 PM)
QUOTE (Kernal @ Aug 7 2003, 05:08 AM)
Yes I have the latest version, think this will be created by a small alteration to the coding behind MXM.

Yeah, the "Free" is hard coded. I'll have to create a set of "Bare" options in a later release.

Look forward to it  wink.gif

Kernal
Logged