Using AppleScript to toggle proxy on and off under leopard.

Posted on 2008-11-04
Last Modified: 2013-11-12
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.
Question by:os7
    LVL 7

    Accepted Solution


    Author Closing Comment

    Yes, thank you. Though it would be better if it could use the .pac file.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac ( - the Enterprise product vers…
    This is a short article about OS X KeRanger, and what people can do to get rid of it.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now