• 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
Can "openFile" open folders?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can "openFile" open folders?


  • Subject: Can "openFile" open folders?
  • From: Lorenzo <email@hidden>
  • Date: Tue, 26 Aug 2003 21:51:11 +0200

Hi,
I use
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString
*)filename

to let the user drag and drop a file onto my app icon to open the file with
my application. It works well. Now I would like to do the same with folders.
So the user can drag a folder onto my app icon so I can process the content
of the folder.


Please, how should I configure the Document Type list in order to do that?


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Can "openFile" open folders?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Formats supported by NSImage?
  • Next by Date: Re: How to display an EPS file?
  • Previous by thread: Re: NSString -> char* ? Use -[NSString UTF8String].
  • Next by thread: Re: Can "openFile" open folders?
  • Index(es):
    • Date
    • Thread