-
-
Save gaecom/69e7aa898520d34a5185 to your computer and use it in GitHub Desktop.
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
set the currentSource to (do shell script "/Users/askedrelic/bin/SwitchAudioSource -c") | |
if currentSource is equal to "Built-in Output" then | |
do shell script "/Users/askedrelic/bin/SwitchAudioSource -s \"Built-in Line Output\"" | |
else | |
do shell script "/Users/askedrelic/bin/SwitchAudioSource -s \"Built-in Output\"" | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment