Skip to content

Instantly share code, notes, and snippets.

@bebrws
Created March 23, 2023 16:50
Show Gist options
  • Save bebrws/9fbb8e8d0dd71ed273a0a4b4ffc5c97d to your computer and use it in GitHub Desktop.
Save bebrws/9fbb8e8d0dd71ed273a0a4b4ffc5c97d to your computer and use it in GitHub Desktop.
Mute Google Chrome from Automator Workflow
on run {input, parameters}
tell application "Google Chrome"
activate
tell application "System Events"
-- key code 123 using {shift down, command down} -- shift-command-left
tell application "System Events" to keystroke "d..." using command down
end tell
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment