Created
December 28, 2013 03:08
-
-
Save yfuruyama/8155699 to your computer and use it in GitHub Desktop.
Applescript for enabling bluetooth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Preferences" | |
activate | |
set the current pane to pane "Bluetooth" | |
end tell | |
tell application "System Events" | |
tell process "System Preferences" | |
click (menu button of splitter group of group of window 1) | |
click ((menu item "Update Services") of menu of menu button of splitter group of group of window 1) | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment