Re: DVD name via Cocoa?
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