I'd like to make a simple AppleScript (or XCode, doesn't really matter as long as i can compile it into a Mac application) utility that connects to a WPA network automatically for me. Anyone have any ideas as to how it could work? I've tried some stuff from this page: http://hints.macworld.com/article.php?story=20060921045743404 but can't figure out how to find the name of the wifi menu bar item. If you have any ideas as to how i could do it a different way, please let me know. Thanks!