• 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: NSPasteboard type for InDesign
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPasteboard type for InDesign


  • Subject: Re: NSPasteboard type for InDesign
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 17 Sep 2012 09:50:59 -0700

On Sep 17, 2012, at 8:59 AM, Chris Paveglio <email@hidden> 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? I've tried both but neither work for me.

If InDesign windows accept image files dragged in from the Finder, then you could drag such a file to the PasteboardPeeker app [look it up, it’s very useful] to see what pasteboard types the Finder provides. Then you know that InDesign recognizes some subset of those types, which will give you something to start from.

But in general, yes, file URLs should be the right thing. Adobe apps don’t always play by the rules when using the pasteboard, though, unfortunately. (Or didn’t in the past; I haven’t tried lately.)

—Jens
_______________________________________________

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: 
 >NSPasteboard type for InDesign (From: Chris Paveglio <email@hidden>)

  • Prev by Date: Re: NSPasteboard type for InDesign
  • Next by Date: Re: Sandboxing not so bad
  • Previous by thread: Re: NSPasteboard type for InDesign
  • Next by thread: Position of my item in the statusBar
  • Index(es):
    • Date
    • Thread