On Tuesday, Oct 21, 2003, at 16:26 America/New_York, Jack Jansen wrote:
>> On 19-okt-03, at 0:38, Bob Ippolito wrote:
>> Just FYI, this weekend I'm writing an ObjC wrapper for the
>> SystemConfiguration framework (I expect to finish it tonight or
>> tomorrow), which gives us access (via PyObjC) to a whole slew of
>> things including but not limited to network and proxy settings, which
>> would also be useful for the next iteration of PackageManager among
>> other things.
>> Great! But note that we have access to most of those already,
> probably, through the IC module. The InternetConfig implementation on
> OSX uses the network preferences under the hood.
InternetConfig uses SystemConfiguration in its implementation, and is
deprecated for new applications. SystemConfiguration also lets you go
regex searching for stuff, and let's you get change notifications.
It's rather interesting, especially because you get access to Airport
data (signal strength, network, etc) as well as power management
settings and battery level.
-bob