代码之家  ›  专栏  ›  技术社区  ›  spd

Mac Office 2011的AppleScript

  •  0
  • spd  · 技术社区  · 16 年前

    是否有可用的AppleScript通过Mac Office 2011以邮件附件的形式发送URL或图像数组?

    有人能帮我吗?

    事先谢谢。 当做, 小精灵

    2 回复  |  直到 14 年前
        1
  •  1
  •   Mark Fleming    14 年前

    另请参见:

    MS Outlook 2011 SP1 v14.1.0更改了Apple脚本字典。 http://www.officeformachelp.com/2011/04/microsoft-updates-applescript-dictionary-for-outlook-2011-sp1/

    也:

    运行send all--强制立即发送邮箱中的邮件

        2
  •  0
  •   Community Mohan Dere    9 年前

    鉴于Office2011是一个非常新的版本,我会惊讶地发现,除了Office提供的示例脚本之外,还可以使用现成的代码。 This is where the Dictionary comes in; the Dictionary tells you everything that an application responds to, what objects can be manipulated, etc. 当第一次编写应用程序脚本时,字典总是您首先看到的。

    你要问的似乎不太难弄清楚,即使是对于一个刚接触过AppleScript的人。

    更新: 这是 泰科德兹 2008年随行人员。我想V2011不会偏离太多,因为它非常简单:

    tell application "Microsoft Entourage"
     set newMessage to make new outgoing message with properties {subject:"New Outgoing Message Subject", recipient:"email@domain.com", content:"Message Body", attachment:{pathToFile1, pathToFile2}}
    end tell
    --> RESULT: A new message appears in the Outbox with the content placed