Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Send iMessage From Command Line With Bash/Osascript (Osascript = Command Line Version Of Applescript)

osascript -e 'tell application "Messages" to send "Message Content" to buddy "Contact Name/Number"'
example:
osascript -e 'tell application "Messages" to send "Hello Fuckface!" to buddy "Andrew"'
osascript -e 'tell application "Messages" to send "Hello Fuckface!" to buddy "5558675309"'
 
PREVIOUS NEXT
Tagged: #Send #iMessage #From #Command #Line #With #Command #Line #Version #Of
ADD COMMENT
Topic
Name
1+7 =