Created
August 7, 2010 10:28
-
-
Save Superbil/512662 to your computer and use it in GitHub Desktop.
mute system and return mute
This file contains hidden or 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 Events" | |
if (output muted of (get volume settings)) is true then | |
set volume without output muted | |
else | |
set volume with output muted | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment