• 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
OS X applications filetype
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS X applications filetype


  • Subject: OS X applications filetype
  • From: TACKEL <email@hidden>
  • Date: Thu, 27 Feb 2003 19:18:50 +0100

Hi Guys,

I found one problem with the "getInfoForFile" function.

I search for some OS X applications in the entire hard disk and there are some
of them without the .app extension (i.e. Acrobat reader, virtual pc, photoshop),
so the function doesn't recognize these kind of apps.

Any idea to recognize applications without the .app extension? When I say
without .app extension I mean without extension, not that the extension is
hidden.

In fact, I dont know why exist OS X applications without the .app extension, if
you remove the extension from any of the normal apps, it becomes a simple
folder.


[workSpace getInfoForFile: pname application: nil type:&type];
if ( [type isEqualToString: NSApplicationFileType] )
NSLog (@"os x application");

Thanks,
Tackel.
_______________________________________________
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.

  • Prev by Date: ANN:JMRatingsView
  • Next by Date: (no subject)
  • Previous by thread: ANN:JMRatingsView
  • Next by thread: Re: OS X applications filetype
  • Index(es):
    • Date
    • Thread