Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Turn AirPort on or off with AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Turn AirPort on or off with AppleScript
Authored by: dzg on Nov 02, '10 03:56:11PM
Nice! But you need device name, and I did not need admin priveleges:

do shell script "networksetup -setairportpower en1 off"
do shell script "networksetup -setairportpower en1 on"


[ Reply to This | # ]