Using iMessage from command line/Terminal
Hello, I know that using:
osascript -e 'tell application "Messages" to send "Hello John!" to buddy "John Doe"'
Will send a message to my contact "John Doe"
I'm trying to do the same but only with the phone number itself instead of having to create a contact (e-commerce customers for example)
I tried different ways but was unable to do id correctly.
Regards