gpt4 book ai didi

outlook - 在 Microsoft Outlook 中使用 applescript 创建新的外发邮件

转载 作者:行者123 更新时间:2023-12-04 12:48:59 24 4
gpt4 key购买 nike

我正在尝试使用 AppleScript 使用 Microsoft Outlook 2011 for mac 创建新的外发邮件.
以下示例适用于 10.6.8 :

tell application "Microsoft Outlook"
set newMessage to make new outgoing message with properties {subject:"Hooray for automation"}
make new recipient at newMessage with properties {email address:{name:"Jim Shank", address:"jim.shank@example.com"}}
open newMessage
end tell

在 Lion 上,我收到以下错误:
Microsoft Outlook got an error: Can’t make class outgoing message.

有人知道那里出了什么问题吗?

我正在使用脱机 Outlook。

最佳答案

显然,我正在使用已过期的试用版。使用注册版本,此脚本完美运行。 Boo Outlook...我花了几个小时来研究这个!

关于outlook - 在 Microsoft Outlook 中使用 applescript 创建新的外发邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9521897/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com