Stairways Software Icon

Stairways Software

Excellence In Software For Over Ten Years – Only with a Mac

➽Toggle WiFi with a Hotkey using Keyboard Maestro

A clever little macro from Brandon Pittman that toggles wiFi on and off.

From: Thank You For Your Cooperation

Posted Friday, June 15, 2012. Permalink. Source Link. 1 Comments.


This can also be done using AppleScript:

set status to last word of (do shell script "networksetup -getairportpower en1")

if status is "on" then

do shell script "networksetup -setairportpower en1 off"


do shell script "networksetup -setairportpower en1 on"

end if

Posted Tuesday, July 24, 2012 07:05 PM by Jordan.

Post Comment

Name: (optional)
URL: (optional)
Email: (optional, not published)
CAPTCHA: seven four two three (required)
  To prove you are human, please enter the number as digits (ie, 1-9).
  You can use some HTML tags such as <b>, <i>, and <a href="">.
We reserve the right to remove any offensive or inappropriate comments.
Due to spam issues, comments are initially invisible until we review them,
you can see them (background red) and we can see them, but no one else.

Comment Preview

None yet.

Buy Now

User Database