Re: Configuring network prefs programmically
Re: Configuring network prefs programmically
- Subject: Re: Configuring network prefs programmically
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 9 Jan 2003 15:55:24 +0100
On jeudi, janvier 9, 2003, at 07:38 AM, <email@hidden> wrote:
Hi,
I have been thinking about how to change the network prefs
programmically. Either using AppleScript or C/ObjC.
First I looked into AppleScript, but the dictionaries available for
SystemServices and System Preferences dont allow any configuration.
Then I looked into the developer docs. I ran into SystemConfiguration
framework. So I wrapped a little inspector which loads all keys from
the dynamic cache and allows you to get the values of those keys (via
-description). Unfortunately I really can't make head or tails of the
whole thing. I can't figure out how to enumerate all network configs,
change them, and add/remove them.
Can anyone point me to better documentation/sample code? Or maybe a
better way? Most of the sample code I saw online is for open
transport configuration.
I would say:
Sample code:
MoreSCF (available in ADC Sample Code section)
Documentation and help:
macnetworking mailing list (lists.apple.com)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.