• 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: NSFilenamesPboardType
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSFilenamesPboardType (From: email@hidden)

  • Prev by Date: NSFilenamesPboardType
  • Next by Date: Re: My bug or Apple's?
  • Previous by thread: NSFilenamesPboardType
  • Next by thread: Re: NSTask Permission denied
  • Index(es):
    • Date
    • Thread