Skip to content

Instantly share code, notes, and snippets.

@SethMilliken
Created May 16, 2014 23:50
Show Gist options
  • Save SethMilliken/359a28c56b3d3c9d99e9 to your computer and use it in GitHub Desktop.
Save SethMilliken/359a28c56b3d3c9d99e9 to your computer and use it in GitHub Desktop.
tell application "System Preferences"
reveal pane id "com.apple.preference.network"
tell application "System Events" to tell process "System Preferences"
tell window 1
select (row 1 of table 1 of scroll area 1 whose value of static text 1 contains "Bluetooth PAN")
click button 1 of group 1
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment