Re: InternetConfig and Mac OS X - what are the valid keys?
Re: InternetConfig and Mac OS X - what are the valid keys?
- Subject: Re: InternetConfig and Mac OS X - what are the valid keys?
- From: Quinn <email@hidden>
- Date: Wed, 9 Jul 2003 08:17:01 +0100
At 0:42 -0600 19/6/03, Smith Kennedy wrote:
The first one works (getting the homepage URL). The problem is that
the second query, looking for kICNTPHost, returns with an error -666
(unknown key),
That's because the key hasn't been set up. The key is valid: you can
set it up yourself if you need it, and other apps will find the
result. However, by default Mac OS X does not include a value for
this key.
and the third one I just don't know how to phrase it.
There are two problems here.
1. When you supply the key, you must append the URL scheme that
you're looking for. In this case, you want kICHelper "http".
2. The value of the kICHelper keys are of type ICAppSpec. This
structure contains a creator code and a name. The creator code is
definitive. The name is just there so you can display something
meaningful if the application is missing.
btw IC documentation and sample code is available from the IC web site.
<
http://www.quinn.echidna.id.au/Quinn/Config/>
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.