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: Smith Kennedy <email@hidden>
- Date: Thu, 10 Jul 2003 07:21:59 -0600
Thanks, Quinn. More comments inline.
One other question. The page for either IC or Launch Services says
that Launch Services will be replacing InternetConfig. But the
documentation on Launch Services is pretty thin so far (one tech note,
#2017). What is the roadmap moving forward? Is InternetConfig
deprecated at this point?
Smith
On Wednesday, July 9, 2003, at 01:17 AM, Quinn wrote:
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.
So the only place that this is stored is in /etc/ntp.conf? It seems
that the time servers in the "Date & Time" System Preferences panel are
in the "/System/Library/PreferencePanes/DateAndTime.prefPanel" string
catalogs, but I don't know if they are anywhere else.
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.
Thanks for the info.
btw IC documentation and sample code is available from the IC web site.
<http://www.quinn.echidna.id.au/Quinn/Config/>
I checked out your site on InternetConfig, but I didn't find an example
or any documentation that described the latter information very well at
all. Perhaps I didn't dig deep enough.
I also couldn't find the sample code. Looking in the "Networking"
section revealed nothing, nor did going to your website. I couldn't
find an InternetConfig SDK with example code at all, but perhaps I was
staring right at it and didn't know it?
_______________________________________________
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.