|
|
Workaround for Leopard
you are actually correct about the menu being renamed. A still trial and error has revealed to me that the menu is now called "Bluetooth" no "menu extra" and a capital (may or may not make a difference, the capital).
Workaround for Leopard
-- Before you use this script, launch /Applications/AppleScript/AppleScript Utility.app and check "Enable GUI Scripting."
Workaround for Leopard
Yet a final comment. Thanks to OS X: Leopard's new "record" ability in Automator, you can record yourself clicking on something, stop recording, and find out what the menu is called right then and there! Found that out now. XD.
Workaround for Leopard
figured I would throw in my solution which was based upon the original post.
on run argv
This code takes a single argument: the desired action (ie On or Off)It would be run from the terminal: osascript /path/to/script/name_of_script_file.scpt On osascript /path/to/script/name_of_script_file.scpt Off |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.17 seconds |
|