Created
January 24, 2018 16:07
-
-
Save cdeutsch/a5e5b6ad6c2e5007da1a1d4b8e69893d to your computer and use it in GitHub Desktop.
Mute Discord using AppleScript
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
tell application "Discord" to activate | |
tell application "System Events" | |
-- requires that you create a keyboard shortcut for cmd+shift+m | |
keystroke "m" using {command down, shift down} | |
keystroke tab using {command down} | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment