• 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: Newbie: Accepting any file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Newbie: Accepting any file type (From: Andres Ramirez <email@hidden>)

  • Prev by Date: Re: Using icns??
  • Next by Date: Re: HowTo: server
  • Previous by thread: Re: Newbie: Accepting any file type
  • Next by thread: Re: Newbie: Accepting any file type
  • Index(es):
    • Date
    • Thread