Re: (Newb question?) Launching app on dock icon file drop?
Re: (Newb question?) Launching app on dock icon file drop?
- Subject: Re: (Newb question?) Launching app on dock icon file drop?
- From: Andrew Merenbach <email@hidden>
- Date: Fri, 25 Jul 2008 18:41:21 -0700
Hi, Jacob,
If it is a document-based program, the easiest method is to set up
your Info.plist (generally configured through Xcode) to support
various document types (in the role of "editor" for these types).
Creating a "droplet"-type program shouldn't be much more difficult --
you'd need to set your program to be a "viewer" instead of an "editor."
I and others could use a little more information, I suspect. What is
your scenario?
Cheers,
Andrew
On Jul 25, 2008, at 4:51 PM, Jacob Ole Juul Kolding wrote:
I been searching for quite a while and reading the source code for
DockScript by still no luck.
Can anyone tell me how to make an Cocoa app launch when a file is
drag 'n droped on it's icon?
Any pointer greatly appreciated!
Jacob Kolding
email@hidden
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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