Yeetamus___

AppleScriptSpamMessages

Dec 7th, 2020 (edited)
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "System Events"
  2.     set textToType to "f" -- text variable (textTotype) -- "f" is the message (change it to whatever you want)
  3.     delay 3 -- offset
  4.    
  5.     repeat 100 times -- number of times to repeat -- to do infinitely, take off the number
  6.         delay 0.005 -- messages interval
  7.         keystroke textToType -- write messages
  8.         keystroke return -- enter messages
  9.     end repeat -- end repeat after number of time told
  10. end tell -- end all
  11.  
Add Comment
Please, Sign In to add comment