Re: Select CD
Re: Select CD
- Subject: Re: Select CD
- From: Ehsan Saffari <email@hidden>
- Date: Thu, 19 Jul 2001 23:34:45 -0600
On 19/07/2001, 19:08:30 -0500, Scott Earleywine <email@hidden>
wrote:
>
Sorry, but I cannot get this to compile...
>
> tell application "Finder" to select (every disk whose ejectable is true and
>
> whose free space is 0.0)
try this instead:
tell application "Finder" to select (every disk whose ejectable is true
and free space is 0.0) --the second whose seems to be confusing the Finder
but there is a catch, some CDs do have free space larger than 0, so every
once in a while the script will fail to eject the CD.
cheers
ehsan