tell application "Messages"
set myid to get id of first service
set theBuddy to buddy "18659282917" of service id myid
send "this is a imessage`s text" to theBuddy
end tell
我运行脚本,但它收到错误:
来自好友ID的错误号-1728 “8A63A596-FD3C-47ED-88DF-E13E41023F34:8618659282917”
但我可以通过iPod和iPhone向好友“18659282917”发送消息。 有什么问题?