Created
March 23, 2020 07:40
-
-
Save skeptomai/ecb9246ae4c3fbaaec4ffbf3c794ef9f to your computer and use it in GitHub Desktop.
Toggle Video in Amazon Chime Meeting
This file contains 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
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" | |
try | |
click button 2 of group 2 of toolbar 1 of (first window whose title contains "Meeting") | |
end try | |
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