image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
Thread Tools
  #1  
Old June 5th, 2008, 09:40 AM
Registered User
 
Join Date: Mar 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
yogish is on a distinguished road
how to list the unmounted devices

Hi,

I want to know the how to list the unmounted device.
i have tried using carbon api checkForRemovalMedia but currently this api is not supported in Mac.
Is there any way to list or display unmounted devices?
Reply With Quote
  #2  
Old June 5th, 2008, 11:13 AM
mvcube's Avatar
Mac newbie
 
Join Date: Mar 2008
Location: Wehrheim, Germany
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
mvcube is on a distinguished road
Disk Utility should be able to do so. Or do you want to do it from a program of your own?
__________________
Marcus,
Wehrheim Germany

http://www.mvcsys.de
Reply With Quote
  #3  
Old June 6th, 2008, 01:33 AM
Registered User
 
Join Date: Mar 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
yogish is on a distinguished road
display all unmounted device through the code

Hi,
Thanks for the reply but i want to display all unmounted device through the code.
Reply With Quote
  #4  
Old June 6th, 2008, 09:54 AM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,965
Thanks: 2
Thanked 70 Times in 66 Posts
ElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura about
Why do you think "checkForRemovableMedia" is not supported? It's documented in Apple's Developer Documentation, and is part of the NSWorkspace class. Perhaps you need to include this "NSWorkspace" class in your project?

http://developer.apple.com/documenta...Reference.html
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 02:01 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.