Skip to content

Instantly share code, notes, and snippets.

Avatar

Jimmy Angelakos vyruss

View GitHub Profile
@vyruss
vyruss / ResetAudioBalance.scpt
Last active Jun 3, 2021
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...
View ResetAudioBalance.scpt
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