Skip to content

Instantly share code, notes, and snippets.

@dustinsenos
Last active June 25, 2020 09:26
Show Gist options
  • Save dustinsenos/847b2e17da3f7b79862e771d164af12e to your computer and use it in GitHub Desktop.
Save dustinsenos/847b2e17da3f7b79862e771d164af12e to your computer and use it in GitHub Desktop.
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