Using AppleScript to toggle proxy on and off under leopard.

Is there a way to toggle my network proxy configuration on and off using applescript under leopard?

I would like to be able to run the script and if the proxy is on to turn it off, and vice-versa if it's off to turn it on using the configuration from  a .pac file.
Who is Participating?
os7Author Commented:
Yes, thank you. Though it would be better if it could use the .pac file.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.