Re: fileExistsAtPath with * to indicate random
Re: fileExistsAtPath with * to indicate random
- Subject: Re: fileExistsAtPath with * to indicate random
- From: John Stiles <email@hidden>
- Date: Mon, 10 Mar 2008 11:54:18 -0700
In general this is excellent advice, but I believe ImageMagick is not a
Mac program but an X11 thing.
Brian Stern wrote:
On Mar 10, 2008, at 12:10 PM, Mr. Gecko wrote:
I'm needing my application to find out if ImageMagick is installed.
You should look at Launch Services. This Carbon API will tell you the
application that will open for a given document or kind of document.
"The Launch Services function LSFindApplicationForInfo locates an
application based on its name, creator signature, bundle ID, or any
combination of these characteristics."
Look at LSGetApplicationForInfo, LSFindApplicationForInfo,
LSGetApplicationForURL and related APIs.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden