我正在尝试检索触发AppleScript的任何电子邮件的正文。我保存了测试消息,当我单击“应用规则”时,出现此错误:
“无法将<><><><><><><><><><><>"><><><>
编辑:这是代码的相关部分:
using terms from application "Mail"
on perform mail action with messages messageList for rule aRule
tell application "Mail"
repeat with thisMessage in messageList
try
say content of thisMessage
on error errMsg
display alert errMsg
end try
end repeat
end tell
end perform mail action with messages
end using terms from
答案 0 :(得分:3)
尝试:
say (content of thisMessage as text)