• 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: DVD name via Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DVD name via Cocoa?


  • Subject: Re: DVD name via Cocoa?
  • From: Jayson Adams <email@hidden>
  • Date: Wed, 12 Sep 2007 17:03:51 -0700


On Sep 12, 2007, at 4:46 PM, Glenn Zelniker wrote:

I'm trying to get the volume name of a DVD through NSWorkspace's - mountedRemovableMedia and looking at the lastPathComponent. This doesn't seem to be working for me; I can only get at the first 15 or 16 characters of the name. But the Finder doesn't have any problem getting the full name. Am I going to have to use Carbon calls to find the full name?

You might try

	[[NSFileManager defaultManager] displayNameAtPath:pathOfMountedDevice]

Best,


__jayson

Circus Ponies NoteBook - Organization for a Creative Mind
www.circusponies.com



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >DVD name via Cocoa? (From: Glenn Zelniker <email@hidden>)

  • Prev by Date: DVD name via Cocoa?
  • Next by Date: DVD name via Cocoa? [solved]
  • Previous by thread: DVD name via Cocoa?
  • Next by thread: DVD name via Cocoa? [solved]
  • Index(es):
    • Date
    • Thread