Re: Acting as the target of an Internet Config call
Re: Acting as the target of an Internet Config call
- Subject: Re: Acting as the target of an Internet Config call
- From: Dan Wood <email@hidden>
- Date: Tue, 18 Sep 2001 12:14:57 -0700
I'm not sure if this will solve your problem completely, but you
should look at subclassing NSURLHandler. You register the URL type
so that your subclass will handle a particular kind of URL.
However, I'm not sure if that registers just for URLs within an
application, or if you can have your application respond to
requests from Apple Events & Internet Config. Good luck.
On Monday, September 17, 2001, at 10:58 PM, Jordan Matthiesen wrote:
Hello All,
I'm trying to make a Cocoa application that responds to an "open URL"
call from the Internet Config API. Primarily, I'm trying to respond to
the open of a news:// URL. So far, it looks as if there is not a
method
built into the NSApplication or NSDocument objects that I can use to
easily receive the URL call. I see that internet config sends an Apple
Event to the application, but was thinking that maybe the event was
intercepted by some other object (apparently not). Doing a search of
the archives and the web didn't really help me out, so I thought I'd
check with all of you before going down the path of Apple Event
support. Is there any way, other than handling Apple Events, to
respond
to the URL call? Thanks in advance!
Jordan Matthiesen
email@hidden
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
--
Dan Wood
email@hidden
http://www.karelia.com/
http://www.bikealameda.org/
Mac OS X Developer: Online Resume:
http://www.karelia.com/resume.html
"We have met the enemy and he is us" -- Walter Kelly (Pogo),
perhaps predicting the World Trade Center tragedy and America's
foreign policies and our sorry excuse for airline security...