Outlook for Mac

Outlook 14.3.9 on Mavericks

待回答 0 个回答

较早的帖子,发布于 2014年4月2日。 其中的信息可能已经过时。

本帖暂无中文翻译,以下为英文原文。

问题 提问于 2014年4月2日

Hi

I have this very simple applescript that works on my 14.3.9 on OSX10.7.5

tell application "Microsoft Outlook"
    set newMessage to make new outgoing message with properties {subject:"Invoice2358.pdf", content:"Document attached"}
    tell newMessage
        make new attachment with properties {file:"Macintosh HD:Applications:Mac:Adnetv5:PDFs:Invoice2358.pdf"}
    end tell
    open newMessage
end tell

but on the same version of outlook on OSX10.9.2 i get the following error

error "Microsoft Outlook got an error: Can’t make class outgoing message." number -2710 from outgoing message to class

outgoing message still appears to be in the dictionary.  Anyone got any ideas?

Cheers

Keith

暂无回答

撰写回答

您的邮箱地址不会被公开。请勿发布密码。

This site uses Akismet to reduce spam. Learn how your comment data is processed.