Skip to content

Instantly share code, notes, and snippets.

@tyhawkins
Last active May 27, 2022 20:51
Show Gist options
  • Save tyhawkins/66d6f6ca8b3cb30c268df76d83020a64 to your computer and use it in GitHub Desktop.
Save tyhawkins/66d6f6ca8b3cb30c268df76d83020a64 to your computer and use it in GitHub Desktop.
Get Zoom Mute/Unmute Status
property btnTitle : "Mute audio"
if application "zoom.us" is running then
tell application "System Events"
tell application process "zoom.us"
if exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) then
set returnValue to "Unmuted"
else
set returnValue to "Muted"
end if
end tell
end tell
else
set returnValue to ""
end if
return returnValue
@IdiotRat
Copy link

can someone give me full script that i can use in greasyfork

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