Re: NSFilenamesPboardType
Re: NSFilenamesPboardType
- Subject: Re: NSFilenamesPboardType
- From: Glenn Andreas <email@hidden>
- Date: Fri, 19 Nov 2004 16:08:50 -0600
At 4:48 PM -0500 11/19/04, email@hidden wrote:
When i get a NSFilenamesPboardType from a pasteboard in a drag, it
returns a .plist type string. How can i get only the dropped files
path out of that string?
thanks
You should be getting an array of files out it, not a string (which
is a probably why it is formatted as plist).
See
<http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/Tasks/acceptingdrags.html>
You can just iterate through that array - it contains the pathnames...
--
Glenn Andreas email@hidden
<http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden