I can send messages to a specified person already using the buddy thing. I have multiple emails registered with iMessage so I was wondering how I can select which account the message is sent from in the actual script?
I have not tried anything because I'm not very familiar with AppleScript
For example:
- set acc1 to [email protected]
- set acc2 to [email protected]
I would want to send "Hi" from coolemail1 and "How are you" from coolemail2
How could I do this?
-I'm really bad at making questions sorry
The sender account is the sender property of the message.
This sender is usually in the form contact_name .
To extract only email address and to compare with your acc1/acc2, you must use "extract address from" instruction.
See example bellow :