here is a command line utility to do what you want:
http://www.macstumbler.com/airport.tar.gz
I'm not sure if you wanted a programatic interface, but the source is open so you could make one if the binary wasn't exactly what you wanted.
cb
On Jan 5, 2005, at 10:31 PM, Nicholas Thornton wrote:
Speaking of commandline utilities for traditionally GUI things... I've been wanting to create a commandline interface to airport for a while. Something that gives access to the same functionality as that airport icon in the apple bar-- in particular the ability to turn airport on and off (for login and logout init scripts). I was wondering first if something like this is already out there? And second what process would I be sending appleevents to, i.e. what to I need to make a glue for? Or does the utility that controls such things not accept appleevents, if so is there another way to communicate with it?
live well, ~wren
__________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
