Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

0004838

Suspended
Original poster
Oct 1, 2014
193
64
Hi,

I'd like to add & remove the Airport, Bluetooth and Time Machine menu bar icons using Automator. Anyone know of a way to do this without using GUI scripting?
 
Bartender would accomplish that, but that's an app, not a script.
 
Thanks for the reply. Nice idea, not sure if it would be suitable for my situation, and anyway $15 is too much.

Thanks though.
 
Thanks for the reply. Nice idea, not sure if it would be suitable for my situation, and anyway $15 is too much.

Thanks though.

You can add menu extras with the unix command "open."
Example:
Code:
open /System/Library/CoreServices/Menu\ Extras/AirPort.menu
 
You can add menu extras with the unix command "open."
Example:
Code:
open /System/Library/CoreServices/Menu\ Extras/AirPort.menu
That's actually useful, thanks. But how do I close them? I've checked Activity Monitor and ps in the Terminal, but can't find anything that looks right.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.