Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
set theString to "Test"
set theseCharacters to characters of theString
tell application "System Events"
delay 2 -- Time to switch, if running from editor. Can be removed, if running from menu.
tell front process
repeat with thisChar in theseCharacters
keystroke (thisChar as text)
delay 0.1
end repeat
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.