• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Web proxy settings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Web proxy settings? (From: Tim Mansour <email@hidden>)

  • Prev by Date: Re: illustrator 10 text color change
  • Next by Date: FTP files through curl
  • Previous by thread: Web proxy settings?
  • Next by thread: Re: Web proxy settings?
  • Index(es):
    • Date
    • Thread