OS X applications filetype
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.