• 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: getting file type info from NSOpenPanel's selected file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting file type info from NSOpenPanel's selected file


  • Subject: Re: getting file type info from NSOpenPanel's selected file
  • From: Andreas Schempp <email@hidden>
  • Date: Fri, 9 May 2003 09:45:18 +0200 (MEST)

You can use [NSString pathExtension] on the returned [NSOpenPanel filenames]
to get the extension

> Hello,
>
> i have an NSOpenPanel set up and i want to do different things based on
> the file type of the file that was selected for opening. now i can't
> find a method to get the file type of the selected file. is there
> something i overlooked?
>
> thx,
>
> ben
> _______________________________________________
> 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.
_______________________________________________
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: 
 >getting file type info from NSOpenPanel's selected file (From: Salánki Benjámin <email@hidden>)

  • Prev by Date: Re: Dock Icon Help
  • Next by Date: How to drag an icon from the tool bar
  • Previous by thread: getting file type info from NSOpenPanel's selected file
  • Next by thread: How to drag an icon from the tool bar
  • Index(es):
    • Date
    • Thread