Re: Ejecting a disk
Re: Ejecting a disk
- Subject: Re: Ejecting a disk
- From: Douglas Davidson <email@hidden>
- Date: Tue, 30 Oct 2001 15:34:06 -0800
On Tuesday, October 30, 2001, at 03:19 PM, Luke Sands wrote:
Is it possible to eject all or one of the mounted disks from the
computer from cocoa without using Apple Script commands? If anyone
knows how to do it please help....
-[NSWorkspace unmountAndEjectDeviceAtPath:]
Bear in mind that mounted disks may be of many kinds--fixed disks,
removable media, Firewire, disk images, network volumes, etc.--some of
which can be unmounted and some of which cannot.
Douglas Davidson