Guest User

Untitled

a guest
Jul 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. tell application "System Preferences"
  2. activate
  3. set current pane to pane id "com.apple.preference.sound"
  4. end tell
  5. tell application "System Events"
  6. tell process "System Preferences"
  7. set frontmost to true
  8. --get properties of UI element of tab group of window "Sound"
  9. click radio button "input" of tab group of window "Sound"
  10. tell row 2 of table 1 of scroll area 1 of tab group 1 of window "Sound" to set selected to true
  11. get volume settings
  12. end tell
  13. end tell
Add Comment
Please, Sign In to add comment