There really should be a 'the detailed volumes' (or 'the detailed drives') variant to the volumes function in LiveCode to do this.
On 10/14/2014 11:55 AM, Bob Sneidar wrote: > Still works on Mavericks. > > Bob S > > > On Oct 14, 2014, at 05:21 , Warren Samples > <[email protected]<mailto:[email protected]>> wrote: > > On 10/14/2014 04:55 AM, JB wrote: > I can get a file size by listing the detailed files and I can > get a list of all drives and volumes that are mounted by > using the volumes function. Is there a way to get the > size of a drive or volume that is returned by using the > volumes function? > > John Balgenorth > > > If 'volumes' doesn't work, maybe you can try > > get shell("df -h") > > You can try 'put shell("df -h")' in the message box to see if it gives you a > result. If the command is still installed in OS X, you'll get information on > disc size and usage. > > Warren > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
