Ejecting the CD tray
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