Created
May 16, 2014 21:42
-
-
Save jeffbryner/3813772d806962bc98b7 to your computer and use it in GitHub Desktop.
muteUnmute.sh
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
#!/usr/bin/osascript | |
set inputVolume to input volume of (get volume settings) | |
if inputVolume = 0 then | |
set inputVolume to 20 | |
else | |
set inputVolume to 0 | |
end if | |
set volume input volume inputVolume |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment