Skip to content

Instantly share code, notes, and snippets.

@satokaz
Created March 17, 2020 15:52
Show Gist options
  • Save satokaz/78d81e9a76b8a907a7ccaafca222742d to your computer and use it in GitHub Desktop.
Save satokaz/78d81e9a76b8a907a7ccaafca222742d to your computer and use it in GitHub Desktop.
Applescript to switch mute of output volume
on run {parameters}
if output muted of (get volume settings) = false then
set volume with output muted
else
set volume without output muted
end if
-- get volume settings
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment