2
我试图创建一个applescript,用于Mac 11的Outlook 11中的传出电子邮件,以根据发件人地址是谁来动态设置邮件中的电子邮件签名。我在Outlook中有多个帐户,并希望根据我使用的签名更改签名。下面是我一直在尝试的代码,但没有取得任何成功。有什么建议?使用applescript在Outlook 11中设置多个签名
tell application "Microsoft Outlook"
if message sender contains {name:"emailaddress"} then
set the message signature to signature {name:"signaturename"}
else
set the message signature to signature {name:"signaturename2"}
end if
end tell