Skip to content

Instantly share code, notes, and snippets.

@tyzbit
Created September 14, 2019 17:11
Show Gist options
  • Save tyzbit/991e8ccde274d6024848746789fd3fc2 to your computer and use it in GitHub Desktop.
Save tyzbit/991e8ccde274d6024848746789fd3fc2 to your computer and use it in GitHub Desktop.
Get Zoom Mute/Unmute Status
property btnTitle : "Mute audio"
tell application "System Events" to tell application process "zoom.us"
if exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) then
do shell script "echo Unmuted"
else
do shell script "echo Muted"
end if
end tell
@tyzbit
Copy link
Author

tyzbit commented Sep 14, 2019

Example usage: Create a touchbar script widget with BetterTouchTool and assign it to Mute/Unmute Zoom and display different icons based on if "Unmuted" was found in the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment