• 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: (Newb question?) Launching app on dock icon file drop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >(Newb question?) Launching app on dock icon file drop? (From: Jacob Ole Juul Kolding <email@hidden>)

  • Prev by Date: Re: NSView colors
  • Next by Date: Re: (Newb question?) Launching app on dock icon file drop?
  • Previous by thread: (Newb question?) Launching app on dock icon file drop?
  • Next by thread: Re: (Newb question?) Launching app on dock icon file drop?
  • Index(es):
    • Date
    • Thread