Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jotade11

macrumors regular
Original poster
Feb 2, 2009
113
0
I just got a new AirPort Extreme and I set it up as a closed/hidden network for privacy in sharing disks and printers. I would like to be able to join the network it creates more easily than having to enter in the SSID and password each time (also, I guess the OS doesn't 'cache'/remember hidden networks like it does for a normal, open one) so I googled how to change AirPort settings on a MacBook via Applescript or the command-line without much luck; everything seemed outdated or didn't work with my MPB. What is the best way to join a network easily and is it possible to write a script that you would simply have to click to change networks?

Thanks!
 
As an applescript:

Code:
do shell script "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport --associate=*yourSSID* --password=*yourkey*"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.