Re: Web proxy settings?
Re: Web proxy settings?
- Subject: Re: Web proxy settings?
- From: Axel Luttgens <email@hidden>
- Date: Tue, 12 Apr 2005 12:45:58 +0200
Tim Mansour wrote:
Can anyone point me in the right direction please: how might I
determine the current web proxy server settings from within a script
(on OS X)?
Those settings seem to be saved into file:
/Library/Preferences/SystemConfiguration/preferences.plist
by using a rather convoluted format (lots of indirections).
Unfortunately, I can't manage to access its contents with the 'defaults'
shell command.
(somebody?)
So, unless I'm missing the obvious, you would have to somehow parse that
plist and extract the relevant information (if you have installed
XTools, you may use the 'Property List Editor.app' to get an idea of how
the information is structured, otherwise just display the file' contents
in a text editor).
Some scripting additions, such as Smile's XMLLib.osax, could prove
helpful to parse such property lists.
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden