>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> I'm not sure what you mean: APIs for checking whether a
Bennett> viewer/editor exists for a given file type? Is this what you
Bennett> want?

No, rather LSGetApplicationForInfo
http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html#//apple_ref/c/func/LSGetApplicationForInfo

Bennett> In the terminal, a simple "open" command uses
Bennett> LSOpenFromURLSpec, returning an error if there's no default
Bennett> viewer/editor. 

I guess we should use this one for opening:

http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html#//apple_ref/c/func/LSOpenItemsWithRole

JMarc

Reply via email to