Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "System Events"
- set textToType to "f" -- text variable (textTotype) -- "f" is the message (change it to whatever you want)
- delay 3 -- offset
- repeat 100 times -- number of times to repeat -- to do infinitely, take off the number
- delay 0.005 -- messages interval
- keystroke textToType -- write messages
- keystroke return -- enter messages
- end repeat -- end repeat after number of time told
- end tell -- end all
Add Comment
Please, Sign In to add comment