Last active
June 25, 2020 09:26
-
-
Save dustinsenos/847b2e17da3f7b79862e771d164af12e to your computer and use it in GitHub Desktop.
Send a message in zoom every N seconds
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
-- this is working in Zoom v4.6.7 | |
set appname to "zoom.us" | |
set botmessage to "[karaoke bot] ping! this message keeps the karaoke app running :)" | |
repeat while true | |
tell application appname | |
activate | |
end tell | |
tell application "System Events" | |
set value of text area 1 of scroll area 2 of splitter group 1 of splitter group 1 of window "Zoom" of application process appname to botmessage | |
tell process appname | |
keystroke return | |
end tell | |
end tell | |
delay 1500 -- delay in seconds 1500 == 25 mins | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment