Re: How can I accept directory drops to my app icon?
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.