Skip to content

Instantly share code, notes, and snippets.

@brianjlandau
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianjlandau/397bc502e8645760af15 to your computer and use it in GitHub Desktop.
Save brianjlandau/397bc502e8645760af15 to your computer and use it in GitHub Desktop.
This sends an iMessage to the person who's phone number you enter 100 times every 5 seconds. Feel free to modify the delay or the number of times to repeat. Enjoy
repeat 100 times
tell application "Messages"
set targetService to 1st service whose service type = iMessage
set targetBuddy to buddy "3211234567" of targetService
send "This is an automated message" to targetBuddy
end tell
delay 5
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment