Re: How do I script an eject CD command in AppleScript ?
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.