On Sep 17, 2012, at 8:59 AM, Chris Paveglio <chris_paveg...@yahoo.com> wrote:
> I'm trying to build a little app to drag and drop image files (or any files > really) onto an InDesign document. What is the correct file type to use? > NSURL or a string with the file path? Can't answer that for sure. It depends on what drag types InDesign accepts, if anything. In general, when dragging files, you want to use NSURLs. > I've tried both but neither work for me. InDesign might simply not support dropping files onto it. > I'm sure I might have another problem with my drag and drop implementation, > but I want to clarify that I am using the right file type so I can eliminate > that as one of my problems. > BTW any example code for DnD appreciated! ;-) There should be a bunch on developer.apple.com, but make sure it's using the new-style NSPasteboardWriting API. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com