Trying to modify Menu Extras
Trying to modify Menu Extras
- Subject: Trying to modify Menu Extras
- From: Chris Waldrip <email@hidden>
- Date: Sun, 06 Dec 2009 17:20:20 -0500
I've written a script to automate all the steps we take after imaging a machine, and have only two real outstanding issues.
The first minor issue is turning off Software Update. We don't want Software Update to run unless its done manually (users will be on limited bandwidth satellite data connections from time to time).
do shell script "softwareupdate --schedule off"
But we've found that despite the System Preferences saying its off, we've seen it still run. Anyone else seen this?
The next issue is tougher though. We've modified the Menu Extras we want in the menu bar on our original image, but when we apply it the changes don't stick. So this script basically removes the existing com.apple.systemuiserver.plist file, a new one is written, and the SystemUIServer restarted to reload the menu bar. But the change still isn't complete. Some icons remain in the menu after the change.
Most of the menu extras we want removed are from Apple's System Preferences (Date/Time, TimeMachine, etc). We only want AirPort.menu, Bluetooth.menu, Volume.menu, and the third-party iStateMenusDateAndTimes.menu and MenuCracker.menu (used by third-parties to load their extras in the menu bar.
Any suggestions?
Thanks,
-Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden