Created
November 10, 2015 21:46
-
-
Save JanX2/c7412a24912beca254a3 to your computer and use it in GitHub Desktop.
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
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