Is switching proxies on Mac OS 10.5 scriptable? (://URLFAN)

How popular is your website?  
Enter a website above, we'll show you who's talking about it right now.
We're currently ranking the popularity of 3,783,534 websites by parsing 124,809,402 blog posts from 2,071,037 blog feeds.
Article Structure
6 paragraphs
2749 characters
0 images
2 outgoing links

Is switching proxies on Mac OS 10.5 scriptable?

Post Date: Jan 28, 2008 11:29 a.m.
Ranked website: blog.anthonywong.net (Not Ranked Yet)

For full text please visit source:
http://blog.anthonywong.net/2008/01/29/is-switching-proxies-on-mac-os-...


I often need to change the network proxies settings frequently due to the need to bypass the GFW when accessing websites that are considered “bad”, and have to set the settings back to not using any proxies when accessing “good” websites. Doing so in Firefox is easy thanks to the little yet handy plugin called SwitchProxy, but for Safari or other applications which use the global system settings of Mac OS, one has to go through many steps in System Preferences to set them, and then go through the exact steps again to unset them. Too repetitive. I wish there is a way to set and unset proxies easily, but I cannot find one. I bit the bullet and use AppleScript (yuck) to do that, here’s the complete script (beware, this is my first AppleScript program): set proxyServer to "localhost" set proxyPort to "30000" tell application "System Preferences" activate set the current pane to pane id "com.apple.preference.network" get the n...

Content suppressed by ://URLFAN, for full article visit source

Websites mentioned in article
(click for rank details):

zh.wikipedia.org
apple.com

Buzz Words mentioned in article:

System Preferences
How popular is blog.anthonywong.net?

Click here to view stats and graphs for blog.anthonywong.net


Related archived posts

Multi-touch behaviors on new Macbook/Pro Unibody
From: feeds.macosxhints.com
Post Date: 2008-10-31 07:30:03

Four-finger swiping on multi-touch trackpads have a few interesting behaviors not shown in the Trackpad System Preferences panel. As documented, a four-finger down swipe executes Exposé, while a four-finger up swipe shows the desktop. Without any intermediate steps, a four-finger swipe (up or down) will bring the windows back to their prior locations. The System Preferences window makes it appear as though after swiping up, the user must swipe down to return to a normal view, and after swipi... more
Multi-touch behaviors on new Macbook/Pro Unibody
From: apple-news.net
Post Date: 2008-10-31 07:30:03

Four-finger swiping on multi-touch trackpads have a few interesting behaviors not shown in the Trackpad System Preferences panel. As documented, a four-finger down swipe executes Exposé, while a four-finger up swipe shows the desktop. Without any intermediate steps, a four-finger swipe (up or down) will bring the windows back to their prior locations. The System Preferences window makes it appear as though after swiping up, the user must swipe down to return to a normal view, and after swipi... more
Skype and Safari crashes on Mac OSX
From: forums.techguy.org
Post Date: 2008-11-01 10:24:16

Dear TSG - For the last 3 months I have been running my iBook G4 (Mac OX 10 v. 10.4.11) through an internet provider out of Guangzhou, China -- where I live. All of a sudden, the computer slowed to a halt, and Safari and Skype started to crash within 30 seconds every time I tried to use them. Interestingly enough, Firefox, works fine -- though fairly slow. I live in a highrise apartment with about 5,000 people and all of our computers run through a few switches somewhere in the depths of... more


More posts from blog.anthonywong.net

I helped Firefox today, I’m feeling great
From: blog.anthonywong.net
Post Date: 2008-03-19 01:49:56

It’s not easy to find a reproducible bug in a stable open source software that has the exposure as large as Mozilla Firefox , which has more than 20% market share of the web browser market in Europe. But I did, and I think I’m very lucky. Not only that, this bug has been hiding in Firefox since 2003 (was it the Firefox 1.0 days?), so this bug has been in existence for 5 years, wow, I think I’m really very lucky to have spotted it. This bug is serious, but ve... more
Using Kai font for MacTeX on OS X
From: blog.anthonywong.net
Post Date: 2008-01-23 11:02:41

Typesetting LaTeX with CJK on Mac OS X is provided out-of-box by MacTeX , so working with LaTeX should be a breeze on Mac OS X. However, MacTeX ships with only two Chinese fonts, Arphic Ming Big5 (bsmi) and Arphic Sung GB2312 (gbsn). As I want to use Kai I have to look around for solutions. I found this great website that explains how to use LaTeX and the CJK package on OS X. The good news is that the author of the page provides a shell script for installing any Unicode t... more
Beating a dead horse
From: blog.anthonywong.net
Post Date: 2007-08-08 01:29:07

民建聯主席馬力剛剛去世,因為馬力直譯成英文就是 “horse power”,這樣讓我聯想起一句英文諺語 “beating a dead horse”。這句諺語的意思是指不要為一些已經討論完畢或已下結論的議題再拿出來討論,或者是喋喋不休的討論一個不能改變的事情。現就馬力早前的“無恥”言論舉一例子: “Every sane person knows that protesters had been killed during the June 4th Tiananmen crackdown... more


Feeds and posts are not affliated with ://URLFAN. They are displayed here simply for informational purposes, if you would like to remove your feed, posts, or domain from ranking and analysis, please contact us.

2006-2008 ://URLFAN (Server .15 Generated Nov 30 08 22:22 in 0.278 secs.)

Contact Us / About ://URLFAN / Notify me when my site is added or updated. / Add my RSS feed to ://URLFAN