Jump to content

enable/disable Proxy - REQUEST

Recommended Posts

Dear Alfred community!


I really need your help and I hope I don't annoy anybody out there, by making a request. Could somebody make a workflow, that enables/disables the Proxy settings? I would really appreciate if somebody helps me out!





Create a workflow with keyword or hot key trigger and connect it to an AppleScript:


do shell script "sudo networksetup -setwebproxystate airport off" with administrator privileges


That will turn the proxy _off_ for the airport network interface (WiFi). Replace the 'airport off' with 'airport on' for a script that will turn the proxy back on. You will get an OS/X login box to authenticate when it runs.

Link to comment
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...