• 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 for copy/paste and not just drag drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSFilenamesPboardType for copy/paste and not just drag drop


  • Subject: RE: NSFilenamesPboardType for copy/paste and not just drag drop
  • From: Ling Li <email@hidden>
  • Date: Mon, 15 Dec 2008 15:06:38 -0800
  • Acceptlanguage: en-US
  • Thread-topic: NSFilenamesPboardType for copy/paste and not just drag drop

I have exactly same issue :) With my testing code, I am pretty sure that Finder supports promised
Drag/drop, but does not support promised file copy/paste. With NSFilenamePboardType, Finder
should be able to do copy/paste. Did you call  [pboard setPropertyList:forType:] after put data
into pasteboard? Can you paste your code here?

> -----Original Message-----
> From: cocoa-dev-bounces+lingli=email@hidden
> [mailto:cocoa-dev-bounces+lingli=email@hidden]
> On Behalf Of Cocoa Dummy
> Sent: Friday, December 12, 2008 8:15 PM
> To: email@hidden
> Subject: NSFilenamesPboardType for copy/paste and not just drag drop
>
> Hello,     I am attempting to implement a Copy from my
> application for files
> on a remote server that are displayed in a listview.  This is
> an ftp type client.  I cannot seem to implement these file
> copies from my app to where you can paste them in finder,
> though similar attempts work for drag/drop.
>      I initialliy tried NSFilesPromisePboardType as the type
> for the pasteboard, which would be ideal, but I could not get
> it to work.  I then tried NSFilenamesPboardType; "Paste"
> would not show up in finder menus, but I could paste the
> filenames into TextEdit. These both work for drag/drop.
> Are they not supported for copy/paste operations?
>
>
> Thanks,
> Sean
> _______________________________________________
>
> 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
> _______________________________________________

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: 
 >NSFilenamesPboardType for copy/paste and not just drag drop (From: "Cocoa Dummy" <email@hidden>)

  • Prev by Date: proper way to release a static NSMutableDictionary?
  • Next by Date: Re: proper way to release a static NSMutableDictionary?
  • Previous by thread: NSFilenamesPboardType for copy/paste and not just drag drop
  • Next by thread: how to get exeption dates in iCal
  • Index(es):
    • Date
    • Thread