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“8A63A596-FD3C-47ED-88DF-E13E41023F34:+8618659282917”的错误号 -1728
但我可以通过 iPod 和 iPhone 向好友“18659282917”发送消息。怎么了?