RE: NSFilenamesPboardType for copy/paste and not just drag drop
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