• 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
Ejecting the CD tray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ejecting the CD tray


  • Subject: Ejecting the CD tray
  • From: Chad Armstrong <email@hidden>
  • Date: Fri, 7 Oct 2005 22:10:15 -0500

Is there a way to eject the CD tray using Cocoa? I found NSWorkspace's unmountAndEjectDeviceAtPath, but that seems to only work if you know the name of the CD in the drive. I would like to be able to eject the main disc drive, similar to when I press the Eject key on my keyboard.

Chad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Ejecting the CD tray
      • From: Pascal Pochet <email@hidden>
  • Prev by Date: Re: Dealing with non-standard character sets...
  • Next by Date: Re: Classy NSSplitViews in Cocoa
  • Previous by thread: Best way of doing a toolbar
  • Next by thread: Re: Ejecting the CD tray
  • Index(es):
    • Date
    • Thread