Skip to content

Instantly share code, notes, and snippets.

@wujiang
Forked from tyzbit/zoom-mute-status.scpt
Created May 18, 2021 20:58
Show Gist options
  • Save wujiang/43718f6fe95b7fb862e2e8cc4fe5c998 to your computer and use it in GitHub Desktop.
Save wujiang/43718f6fe95b7fb862e2e8cc4fe5c998 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment