Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ejecting a disk



On Wednesday, October 31, 2001, at 12:19 AM, Luke Sands wrote:

Dear Cocoa Developers,

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 sharedWorkspace] unmountAndEjectDeviceAtPath:path];

Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com


References: 
 >Ejecting a disk (From: Luke Sands <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.