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

2008-12-15 Thread Ling Li
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 paste

RE: How to detect a paste request for file copy/paste?

2008-12-11 Thread Ling Li
Thanks for help. I tried that but still not work. Actually what you said is right with DnD. In my code the promised drag works perfectly well, but this is for file copy/paste :) What is want is that if user click 'paste' in Finder, my app should get notice with destination directory and start fi

How to detect a paste request for file copy/paste?

2008-12-09 Thread Ling Li
I want to implement a delayed file paste feature for file copy/paste. When I first put file lists into the clipboard, the files are actually not existing yet (in another unmapped network place). These files will only be created after got the paste request. So my question is how to detect the pas

NSFilesPromisePboardType with copy/paste

2008-12-08 Thread Ling Li
I searched the archives and saw quite a lot discussion about NSFilesPromisePboardType with DnD. In my code the DnD part also works well. I also tried to implement NSFilesPromisePboardType for copy/paste, but never work. So my question is, after I put something into pasteboard, how can I get not

NSFilesPromisePboardType with copy/paste

2008-12-08 Thread Ling Li
I searched the archives and saw quite a lot discussion about NSFilesPromisePboardType with DnD. In my code the DnD part also works well. I also tried to implement NSFilesPromisePboardType for copy/paste, but never work. So my question is, after I put something into pasteboard, how can I get not