Last active
December 8, 2023 19:23
-
-
Save vyruss/f7e33bd802731f3c34f6fb991ee6b1d5 to your computer and use it in GitHub Desktop.
Reset audio balance on MacBook Pro (all recent Macs, really) - for the annoying OS X audio bug where your headphones or speakers balance is offset...
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 | |
reveal anchor "output" of pane id "com.apple.preference.sound" | |
end tell | |
tell application "System Events" | |
delay 0.5 | |
tell slider 1 of group 1 of tab group 1 of window "Sound" of process "System Preferences" | |
set value to 0.5 | |
end tell | |
end tell | |
tell application "System Preferences" | |
quit | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been fighting with this and hunting for the right code, currently anything online similar giver