2
我无法通过使用Applescript获取文本消息聊天的Id。获取邮件标识
这是到目前为止我的代码:
using terms from application "Messages"
on message sent theMessage for theChat
display dialog (get id of theChat)
end message sent
end using terms from
当我使用AppleScript的处理程序,我得到一个错误:
Can’t get id of «class ictt» id "iMessage;-;+1xxxxxxxxxx". (-1728)
(X的代替电话号码)
我如何避免这个错误,并得到所需的输出只是iMessage;-;+1xxxxxxxxxx
?