Skip to content

Send your friends AUTOMATED text messages from your Mac. Inspired by the bee movie tik tok that went viral.

Notifications You must be signed in to change notification settings

kying18/text-messages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-messages

Send your friends AUTOMATED text messages as a little prank :P Inspired by the Bee Movie texts viral tik tok

Note: this script will only work if you have a Mac

In send.scpt you'll find an applescript that tells your laptop to send a message through iMessage:

on run {targetPhoneNumber, targetMessageToSend}
    tell application "Messages"
        set targetService to 1st service whose service type = iMessage
        set targetBuddy to buddy targetPhoneNumber of targetService
        set targetMessage to targetMessageToSend
        send targetMessage to targetBuddy
    end tell
end run

Then, we call this through main.py like so:

os.system('osascript send.scpt {} "{}"'.format(phone_number, message))

This line basically tells your computer to run the applescript we defined with the given phone number and message. So we can send one word at a time if we just create a for loop and run this line a gazillion times, where the message each time is that single word :)

About

Send your friends AUTOMATED text messages from your Mac. Inspired by the bee movie tik tok that went viral.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published