Handling custom URL protocols in Mac OS X?
    J. Landman Gay 
    jacque at hyperactivesw.com
       
    Wed Oct 22 00:03:58 EDT 2008
    
    
  
Lyn Teyla wrote:
> Hello,
> 
> I'm trying to get a standalone app to handle
> a custom URL protocol in Mac OS X.
> 
> For example, something like this:
> 
> yippie://www.awesome.com/
> 
> 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
mailing list