Created
September 14, 2019 17:11
-
-
Save tyzbit/991e8ccde274d6024848746789fd3fc2 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
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.