| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Volume freespace |
| From: | John Lowrey <jlowrey at mac dot com> |
| Date: | Sun, 30 Dec 2001 17:24:06 -0900 |
Hello all,I am trying to figure out how to get the available freespace on a volume. My attempts with Applescript have come to naught. This is what I have:
on run (diskname)
tell application "Finder"
set answer to freespace of disk diskname
end tell
return answer
end run
I can't get it to return a value to RB under Mac OS X. Any suggestions?
Thanks,
John
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Files I don't want to see!, john roberts |
|---|---|
| Next by Date: | Re: Listbox row selection, Bill Johnson |
| Previous by Thread: | test -- ignore, Christian Miller |
| Next by Thread: | Re: Volume freespace, Christian Schmitz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |