Re: drag-drop question
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