try saving the following applescript as an application, and then making a 
trigger to launch it.


--
> -- 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
>

works for me on snow leopard. 

Reply via email to