Created
September 25, 2014 21:23
-
-
Save segphault/ed3b2ff224dfa4b908da to your computer and use it in GitHub Desktop.
Applescript for automatic typing Alfred workflow
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
on alfred_script(q) | |
tell application "Google Chrome" | |
activate | |
tell application "System Events" | |
repeat with p in paragraphs of q | |
repeat with w in p | |
keystroke "" & w | |
delay (random number from 0.01 to 0.2) | |
end repeat | |
keystroke return | |
delay (random number from 0.01 to 0.2) | |
end repeat | |
end tell | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment