Re: Implementing URI/URL resolver - not helper
Re: Implementing URI/URL resolver - not helper
- Subject: Re: Implementing URI/URL resolver - not helper
- From: Conor Dearden <email@hidden>
- Date: Thu, 16 Mar 2006 09:56:17 +0100
> Can anyone give me a hint as to how I can implement a URI/URL
> resolver that opens a URL in the context of the original link?
I ended up using Apple Script it was the easy solution. If you download
Bwana a man page reader that responds to man://ls
(http://www.bruji.com/bwana) you can take a look at the scripts. You will
find the Apple Scripts inside the resource folder. At the time of creating
Bwana I made it so that one have to explicitly tell it which browser you use
most often. But you can query NSWorkspace to find out what the current
browser is and then run the necessary Apple Script. The best solution to all
this would be not to use a program at all but to write a internet plug-in
like the popular PDF viewer, but those are harder to do.
Conor
http://www.bruji.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden