Handling custom URL protocols in Mac OS X?
J. Landman Gay
jacque at hyperactivesw.com
Tue Oct 21 23:03:58 CDT 2008
Lyn Teyla wrote:
> I'm trying to get a standalone app to handle
> a custom URL protocol in Mac OS X.
> For example, something like this:
> I can get the custom URL protocol to launch
> the standalone app, which is great (if you'd
> like to know how this is done, see the P.S.).
> However, within the app, I have no idea how
> to find and extract the 'www.awesome.com'
> portion of the URL that was used to launch it.
> I've already tried checking $1, but it's empty.
Since you're on OS X, try an appleEvent handler. The dictionary has a
pretty good example of one in the "appleEvent" listing.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode