• 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: Ejecting a disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ejecting a disk


  • Subject: Re: Ejecting a disk
  • From: John Hörnkvist <email@hidden>
  • Date: Wed, 31 Oct 2001 00:39:04 +0100

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>)

  • Prev by Date: Re: Ejecting a disk
  • Next by Date: Screensaver multiple monitor detect
  • Previous by thread: Re: Ejecting a disk
  • Next by thread: Screensaver multiple monitor detect
  • Index(es):
    • Date
    • Thread