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 PROTECTED] _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/andrew.merenbach%40ucla.edu This email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]