Re: Newbie: Accepting any file type
Re: Newbie: Accepting any file type
- Subject: Re: Newbie: Accepting any file type
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 8 Apr 2003 23:59:33 -0700
On Tuesday, April 8, 2003, at 09:13 PM, Andres Ramirez wrote:
I would like the user to be able to drag any kind of file onto my app
icon. How can I set this up. I've found the place where you can set up
individual document types in Project Builder, but I don't know how to
allow any kind of file.
Open up your project's target settings in PB and click on "Document
Types" under "Info.plist Entries". Create a new document type and set
the OS types to "****" with the quotes. At least I think it has to be
in quotes. I haven't tried it without the quotes...
To handle folders as well, then put a space after the above OS type and
enter "fold" without the quotes. "disk" without quotes will let your
application handle disks as well.
Then give this "document type" a name, and rebuild your target. If it
doesn't work immediately, then you may have to log out and log back in
again for the changes to work.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
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.