Re: Eject CD AppleScript command on OS X ?
Re: Eject CD AppleScript command on OS X ?
- Subject: Re: Eject CD AppleScript command on OS X ?
- From: david <email@hidden>
- Date: Sun, 3 Nov 2002 22:42:57 -0500
On Sunday, November 3, 2002, at 03:08 PM, Fridiric Le Jeune wrote:
Hello,
I've tried many things....but nothing works...
I would like to have a script who commands the opening of the cd tray
of my
G4 on OS X (like the F12 Key)
If I type:
" Tell application "finder"
eject cd
End tell
"
An error message say : "the variable cd is not defined"
as mentioned before by previous emails to this list you must state the
name of the disk you are ejecting
- drives seem very limited in scripting
Finder Dictionary
eject: Eject the specified disk(s)
eject reference -- the disk(s) to eject
---------------------------------------------
tell application "Finder"
eject disk "Audio CD"
end tell
---------------------------------------------
Note:
system preference settings:
CDs & DVDs
you can assign the instructions you want the computer to do when
inserting various types of CDs
- but as for opening the CD tray that is empty - i don't know how do
assign keyboard shortcuts to
applescript
david in Maine USA
_______________________________________________
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.