有人可以向我展示如何通过 Messages 应用程序直接向 iMessage 用户发送消息吗?
tell application "Messages"
if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 1
if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 2
if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 3
send "Message" to buddy "mail of name" of service x
end tell
我需要只通过iMessage向一个账户发送消息,而不是通过google talk、AIM、Bonjour发送。 谢谢!