Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "System Preferences"
- activate
- set current pane to pane id "com.apple.preference.sound"
- end tell
- tell application "System Events"
- tell process "System Preferences"
- set frontmost to true
- --get properties of UI element of tab group of window "Sound"
- click radio button "input" of tab group of window "Sound"
- tell row 2 of table 1 of scroll area 1 of tab group 1 of window "Sound" to set selected to true
- get volume settings
- end tell
- end tell
Add Comment
Please, Sign In to add comment