Skip navigation.
 
mlRe: NSFilenamesPboardType
FROM : Glenn Andreas
DATE : Fri Nov 19 23:08:50 2004

At 4:48 PM -0500 11/19/04, <email_removed> 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_removed>
<http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know

Related mailsAuthorDate
mlNSFilenamesPboardType alex Nov 19, 22:48
mlRe: NSFilenamesPboardType Glenn Andreas Nov 19, 23:08