• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Select CD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: get current display resolution
  • Next by Date: LogServices1.1
  • Previous by thread: RE: Select CD
  • Next by thread: Re: Select CD
  • Index(es):
    • Date
    • Thread