Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Send a message in zoom every N seconds
-- 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