Re: Free size of different volume?

2007-05-30 Thread Klaus Major
Hi Richard, Hi Richard, Klaus Major wrote: Hi Richard, The diskSpace function returns the free space of the drive the app is running from. From the current volume! ... Ah, yes, now that you say it... I tried at work where the app starts on an OS X volume but the diskspace it

Re: Free size of different volume?

2007-05-29 Thread Ken Ray
On Mon, 28 May 2007 15:08:46 -0700, Richard Gaskin wrote: The diskSpace function returns the free space of the drive the app is running from. I have an installer that runs from a CD, and I need to get the avialable size of the destination volume. Actually, the docs say that it gets the

Re: Free size of different volume?

2007-05-29 Thread Richard Gaskin
Ken Ray wrote: On Mon, 28 May 2007 15:08:46 -0700, Richard Gaskin wrote: The diskSpace function returns the free space of the drive the app is running from. I have an installer that runs from a CD, and I need to get the avialable size of the destination volume. Actually, the docs say that

Re: Free size of different volume?

2007-05-29 Thread Jim Sims
On May 29, 2007, at 4:50 PM, Richard Gaskin wrote: In the meantime, anyone have the shell calls handy to get this info? This help? On OS X I used df -k -l Jim-Sims-Computer:~ jimsims$ df -k -l Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/disk0s3 78019632 36487456

Re: Free size of different volume?

2007-05-29 Thread Scott Kane
on mouseUp put the defaultFolder into tDir set the defaultfolder to /Volumes/util/ if the result is not empty then answer the result exit to top end if get the diskspace put it cr the defaultFolder end mouseUp It's working here for 2.70 on XP SP 2. I specify D:/Downloads

Re: Free size of different volume?

2007-05-29 Thread Richard Gaskin
Scott Kane wrote: on mouseUp put the defaultFolder into tDir set the defaultfolder to /Volumes/util/ if the result is not empty then answer the result exit to top end if get the diskspace put it cr the defaultFolder end mouseUp It's working here for 2.70 on XP SP 2. I

Re: Free size of different volume?

2007-05-29 Thread Ian Wood
On 29 May 2007, at 16:35, Richard Gaskin wrote: Indeed it does. So this issue seems to affect OS X only. If someone here will be kind enough to verify the bug in OS X I'll post the bug report. I can confirm that it's returning the free space on the volume containing the app, *not* the

Re: Free size of different volume?

2007-05-29 Thread Scott Rossi
Recently, Ian Wood wrote: If someone here will be kind enough to verify the bug in OS X I'll post the bug report. I can confirm that it's returning the free space on the volume containing the app, *not* the volume containing the defaultfolder. Like Ken, I assumed changing the defaultfolder

Re: Free size of different volume?

2007-05-29 Thread Roger . E . Eller
First, Scott Kane wrote: on mouseUp put the defaultFolder into tDir set the defaultfolder to /Volumes/util/ Then, Richard Gaskin wrote: It's working here for 2.70 on XP SP 2. I specify D:/Downloads and get the correct free space in bytes for the drive. Indeed it does. So this issue

Re: Free size of different volume?

2007-05-29 Thread Richard Gaskin
Roger.E.Eller wrote: First, Scott Kane wrote: on mouseUp put the defaultFolder into tDir set the defaultfolder to /Volumes/util/ Then, Richard Gaskin wrote: It's working here for 2.70 on XP SP 2. I specify D:/Downloads and get the correct free space in bytes for the drive. Indeed

Re: Free size of different volume?

2007-05-29 Thread Ian Wood
On 29 May 2007, at 18:43, [EMAIL PROTECTED] wrote: On OS X, /Volumes/util/ is still on the SAME 'DRIVE' as other /Volumes/places/. Sure they show up as different disks, but they aren't really. I tried it with different physical drives, not just Volumes/util/. Ian

Re: Free size of different volume?

2007-05-29 Thread Klaus Major
Hi Richard, The diskSpace function returns the free space of the drive the app is running from. From the current volume! I have an installer that runs from a CD, and I need to get the avialable size of the destination volume. Any built-in way to do this, or am I stuck with hunting down

Re: Free size of different volume?

2007-05-29 Thread Richard Gaskin
Klaus Major wrote: Hi Richard, The diskSpace function returns the free space of the drive the app is running from. From the current volume! I have an installer that runs from a CD, and I need to get the avialable size of the destination volume. Any built-in way to do this, or am I

Re: Free size of different volume?

2007-05-29 Thread Klaus Major
Hi Richard, Klaus Major wrote: Hi Richard, The diskSpace function returns the free space of the drive the app is running from. From the current volume! I have an installer that runs from a CD, and I need to get the avialable size of the destination volume. Any built-in way to do

Re: Free size of different volume?

2007-05-28 Thread Mark Talluto
On May 28, 2007, at 3:08 PM, Richard Gaskin wrote: Any built-in way to do this, or am I stuck with hunting down shell calls? You could have your installer install a basic app on the intended drive, have it run, and report back the results, and then delete the temp app. Shell calls may