Re: identifying applications
Re: identifying applications
- Subject: Re: identifying applications
- From: Eric Schlegel <email@hidden>
- Date: Thu, 31 May 2001 16:30:21 -0700
On Thursday, May 31, 2001, at 02:59 PM, Steve Gehrman wrote:
trying to implement..
-(BOOL)isApplication:(NSString*)path;
There doesn't seem to be a built in API for finding Classic apps,
carbon apps, Apps with .app and Apps without .app.
You should probably use the Carbon API LSCopyItemInfoForRef
(LaunchServices.h) to determine that. You can check the output flags for
kLSItemInfoIsApplication.
-eric