【发布时间】:2013-02-03 02:11:45
【问题描述】:
我可以使用 AppleScript 创建一个新联系人并将其打开以在 Mac Outlook 2011 中显示:
tell application "Microsoft Outlook"
set newContact to make new contact with properties {first name:"Fred", last name:"Flintstone"}
open newContact
end tell
但此联系人已保存。有没有办法可以打开一个新的未保存 Outlook 联系人,填写属性,然后让用户决定是否保存?
我已经修改了“制作新窗口”,但我无法到达那里。我一直收到错误:
error "Microsoft Outlook got an error: AppleEvent handler failed." number -10000
我认为我需要以不同的方式解决这个问题,但 Outlook AppleScript 字典中的任何内容看起来都没有希望。
【问题讨论】:
标签: macos outlook applescript