Created
November 17, 2014 13:26
-
-
Save julik/34809ee6c97865f9c4fe to your computer and use it in GitHub Desktop.
Mute/unmute (for PowerMate, thanks to AJ)
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
-- http://blog.coolaj86.com/articles/how-to-control-os-x-system-volume-with-applescript/ | |
set isMuted to output muted of (get volume settings) | |
if isMuted then | |
set volume without output muted | |
else | |
set volume with output muted | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment