-
-
Save wujiang/43718f6fe95b7fb862e2e8cc4fe5c998 to your computer and use it in GitHub Desktop.
Get Zoom Mute/Unmute Status
This file contains hidden or 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
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