Skip to content

Instantly share code, notes, and snippets.

@skeptomai
Last active March 23, 2020 18:22
Show Gist options
  • Save skeptomai/e8d24986581c5251fa8caf780bcd8480 to your computer and use it in GitHub Desktop.
Save skeptomai/e8d24986581c5251fa8caf780bcd8480 to your computer and use it in GitHub Desktop.
Toggle Audio in Amazon Chime Meeting
set old to (path to frontmost application as text)
tell application "Amazon Chime"
activate
end tell
tell application "System Events" to tell process "Amazon Chime"
repeat with aWindow in windows
try
if title of aWindow does not contain "Amazon Chime" then
click button 1 of group 2 of toolbar 1 of aWindow
end if
end try
end repeat
end tell
delay 1
activate application old
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment