Skip to content

Instantly share code, notes, and snippets.

@infowolfe
Created October 30, 2018 02:55
Show Gist options
  • Save infowolfe/b8159c81b0fb6a188497ce4cdaa7053e to your computer and use it in GitHub Desktop.
Save infowolfe/b8159c81b0fb6a188497ce4cdaa7053e to your computer and use it in GitHub Desktop.
tell application "chatterino"
activate
end tell
tell application "System Events"
set myList to {"dasmoo1Das ", "dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das dasmoo1Das ", "dasmoo1Das dasmoo1Das ", "dasmoo1Das "}
repeat with theItem in myList
tell process "chatterino"
set value of text area 1 of window 1 to theItem
key code 36
delay 0.2
end tell
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment