I have invented a new kind of URI (don't ask) which looks something like
this:
<myURIType:resourcestring>
I need to be able to register my application to handle URIs of this type.
While testing I did this using the Preference Pane called 'More Internet'.
It worked fine. But I don't want to have to tell all my users to register
this preference pane.
I've looked at the documentation for Launch Services and it's all in
Carbon, and doesn't document how to set URI handlers. My handler is an
AppleScript and ideally I want to be able to set the handler for my type
of URI using a command line (trivial from AppleScript). Can URI handlers
be set this way ?
I've looked at com.apple.launchServices.plist, which I could edit very
easily using the 'defaults' command. But instead of a pointer to the
application it seems to have a dynamic string. I don't understand the
value of this string.
Simon.
--
http://www.hearsay.demon.co.uk