The hint 'Control Airport Without Menu Bar' in the June issue of Macworld (also see this article) was very informative and useful. I devised a simple script based on the article hint that toggles airport on and off.
Here is the script. Copy and Paste it into AppleScript Editor and save it as an Application.
-- -- Toggle Airport Power On and Off -- if (offset of "On" in (do shell script "networksetup -getairportpower en1")) > 0 then do shell script "networksetup -setairportpower en1 off" else do shell script "networksetup -setairportpower en1 on" end if
Mac OS X Hints
http://hints.macworld.com/article.php?story=20110522082622506