• 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: How do I script an eject CD command in AppleScript ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I script an eject CD command in AppleScript ?


  • Subject: Re: How do I script an eject CD command in AppleScript ?
  • From: Sander Tekelenburg <email@hidden>
  • Date: Sun, 3 Nov 2002 15:53:16 +0100

At 15:05 +0100 UTC, on 03-11-2002, Fridiric Le Jeune wrote:

> I would like to have a script who commands the opening of the cd tray of my
> G4.

If you mean what you say, "open the CD tray" regardless of whether or not it
contains a CD, then that cannot be done with plain 'vanilla' AppleScript. You
need the "AudioCDgh" Scripting Addition (find it at <http://osaxen.com>).
[Note that I don't know if this Scripting Addition can be made to work under
Mac OS X. I haven't tried.]

But if you mean you want to eject a CD, you only need to look at the Finder's
dictionary to see that the command you're looking for is "put away". [You can
open dictionaries from Script Editor's "Open Dictionary..." menu (surprise
;)), or by dropping the app on the Script Editor application file, in the
Finder.]

--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How do I script an eject CD command in AppleScript ?
      • From: Frédéric Le Jeune <email@hidden>
References: 
 >How do I script an eject CD command in AppleScript ? (From: Frédéric Le Jeune <email@hidden>)

  • Prev by Date: Re: How do I script an eject CD command in AppleScript ?
  • Next by Date: Re: How do I script an eject CD command in AppleScript ?
  • Previous by thread: Re: How do I script an eject CD command in AppleScript ?
  • Next by thread: Re: How do I script an eject CD command in AppleScript ?
  • Index(es):
    • Date
    • Thread