• 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: drag-drop question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drag-drop question


  • Subject: Re: drag-drop question
  • From: Doug Adams <email@hidden>
  • Date: Sun, 19 Feb 2017 16:10:21 -0500

> On Feb 19, 2017, at 3:00 PM, Andreas Kiel <email@hidden> wrote:
>
> A partial answer to my own question.
> In this case the type needed is "com.apple.finalcutpro.xml".
>
> So any interface item can react on drop if during awake from nib it registers the above i.e. : register drag types {"com.apple.finalcutpro.xml"}
>
> This works for me, unfortunately I can't make it work with directly dragging to the apps icon.


You'll need to use application:openFiles and register CFBundleDocumentTypes in your Info.plist. The latter can be entered under the Target's Info panel in the Document Types section.

Doug
--
dougscripts.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: drag-drop question
      • From: Andreas Kiel <email@hidden>
  • Prev by Date: Re: drag-drop question
  • Next by Date: Re: drag-drop question
  • Previous by thread: Re: drag-drop question
  • Next by thread: Re: drag-drop question
  • Index(es):
    • Date
    • Thread