【发布时间】:2015-12-07 06:09:38
【问题描述】:
好的,所以我想创建一个苹果脚本,在 mac 邮件应用程序中创建一个新规则,如果我写一封新电子邮件并且邮件的内容是“启动 applescript”,我希望启动一个苹果脚本。
这是我目前的代码:
tell application "Mail"
set newRule to make new rule at end of rules with properties {name:"Apple script rule", forward message:""}
tell newRule
make new rule condition at end of rule conditions with properties {rule type:message content, qualifier:does contain value, expression:"Start applescript"}
end tell
说完
【问题讨论】:
标签: macos email applescript