Last active
August 29, 2015 14:06
-
-
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
This file contains hidden or 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
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