Skip to content

Instantly share code, notes, and snippets.

@jeffbryner
Created May 16, 2014 21:42
Show Gist options
  • Save jeffbryner/3813772d806962bc98b7 to your computer and use it in GitHub Desktop.
Save jeffbryner/3813772d806962bc98b7 to your computer and use it in GitHub Desktop.
muteUnmute.sh
#!/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