Tôi đang cố gắng tạo thư mới đi với Microsoft Outlook 2011 cho mac, sử dụng AppleScript
. Ví dụ sau đây làm việc tại 10.6.8
:Tạo thư mới đi kèm với bản ghi chép trong Microsoft Outlook
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:"[email protected]"}}
open newMessage
end tell
On Lion Tôi nhận được lỗi sau:
Microsoft Outlook got an error: Can’t make class outgoing message.
Có ai có một đầu mối những gì đã xảy ra ở đó?
Tôi đang sử dụng Outlook ngoại tuyến.