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

0

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"'
Posted by: Guest on April-25-2022

Code answers related to "Send iMessage From Command Line With Bash/Osascript (Osascript = Command Line Version Of Applescript)"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language