View Full Version : Drag and drop from webview to finder (Dropped path)

Jun 30, 2012, 01:48 AM

The application I am working need to support drag and drop file from webview to finder. Using WebUIDelegate I am able to get the dragged file related info. I have gone through drag and drop programming guide but I couldnot find a way to get file dropped path.

Since mouseDown and mouseDragged is not supporting webview (even though webview is NSView) I am not able to use

namesOfPromisedFilesDroppedAtDestination: and dragPromisedFilesOfTypes:fromRect:source:slideBack:event:. methods to achieve same. Can some help me to get implement drag and drop file from webview to finder or give idea how to get dropped path.

Thanks & Regards,