【发布时间】:2012-08-02 11:22:26
【问题描述】:
有人可以告诉我如何通过消息应用程序直接向 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。 谢谢!
【问题讨论】:
标签: applescript send messages imessage