• 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: How can I accept directory drops to my app icon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I accept directory drops to my app icon?


  • Subject: Re: How can I accept directory drops to my app icon?
  • From: Eric Wang <email@hidden>
  • Date: Sun, 18 Jan 2004 18:41:09 -0500

on 1/18/04 5:34 PM, Marc Liyanage at email@hidden wrote:

> I would like to accept directories with arbitrary names dropped onto my
> application icon, in the Dock and elsewhere.
>
> I tried many things, especially in the Info.plist file, but no chance.
> The icon never highlights in the dock. I can force it by holding down
> Cmd-Option, and then the open method in my app delegate gets invoked,
> but that is of course not good enough for end-users.
>
>
> What do I have to do to accomplish this?


Hi Marc,

You can set the value for the CFBundleTypeOSTypes key in your Info.plist
file to be an array containing the OS Type "fold".

Eric Wang
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >How can I accept directory drops to my app icon? (From: Marc Liyanage <email@hidden>)

  • Prev by Date: Re: speed of alloc/init for NSNumber
  • Next by Date: ANN: EpegWrapper: Wraps the epeg library for very fast JPEG thumbnail generation
  • Previous by thread: How can I accept directory drops to my app icon?
  • Next by thread: Re: How can I accept directory drops to my app icon?
  • Index(es):
    • Date
    • Thread