Re: Addressing disk problem
Re: Addressing disk problem
- Subject: Re: Addressing disk problem
- From: Brian Christmas <email@hidden>
- Date: Thu, 14 May 2015 15:13:41 +1000
Thanks Phil, but I’ve got the Startup Disk down pat.
What I’m trying to address is an external disk named ‘Jobs’.
On another machine using the same script, ‘Jobs’ is a mounted server.
Regards
Santa
On 14 May 2015, at 11:47, Brian Christmas < email@hidden> wrote:
’ve spent quite a few hours trying to get the following code, to test for and get the properties of a disk, to work, to no avail.
To get the all properties of a disk:
tell application "Finder" properties of startup disk end tell
To get just the disk space in GB:
tell application "Finder" set free_Gbytes to ((startup disk's free space) / (100000) / 100) / 100 end tell
Best
Phil
DisplayDroid beta (a lightweight script editor and automation tool) is now available for free download. More info on sqwarq.com/displaydroid
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden