• 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: Eject CD AppleScript command on OS X ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Eject CD AppleScript command on OS X ? (From: Frédéric Le Jeune <email@hidden>)

  • Prev by Date: Re: Play sound in Jaguar?
  • Next by Date: Re: URL Access Scripting Not Launching
  • Previous by thread: Eject CD AppleScript command on OS X ?
  • Next by thread: Re: Eject CD AppleScript command on OS X ?
  • Index(es):
    • Date
    • Thread