【问题标题】:Applescript for Mac Office 2011适用于 Mac Office 2011 的 AppleScript
【发布时间】:2021-10-07 04:19:36
【问题描述】:

是否有任何可用的 Applescript 可通过 Mac Office 2011 将 URL 或图像数组作为邮件的附件发送?

【问题讨论】:

  • 您看过 Office 2011 的 Applescript 词典了吗?
  • 我是苹果脚本的新手。我不知道如何使用字典。如果有人提供现成的 AppleScript 将会很有帮助。

标签: outlook applescript


【解决方案1】:

另见:

MS Outlook 2011 sp1 V14.1.0 更改了苹果脚本字典.. http://www.officeformachelp.com/2011/04/microsoft-updates-applescript-dictionary-for-outlook-2011-sp1/

还有:

运行全部发送 -- 强制立即发送发件箱中的邮件

【讨论】:

    【解决方案2】:

    鉴于 Office 2011 非常新,我很惊讶您会发现现成的代码可以在 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 的新手来说,您所问的问题似乎也不会太难。

    更新:这是 Entourage 2008 的 teh codez。我想 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
    

    【讨论】:

    • @Philip Regan 如何在阅读窗格或撰写窗格中将内容/来源添加到现有查看的消息?
    • @thinkcool:我之前看到了你的问题,但我没有 Outlook。我有 Entourage,我根本无法让您的脚本正常工作。任何关于你的问题的对话都应该发生在你的问题上,而不是在别人的问题上。
    猜你喜欢
    • 1970-01-01
    • 2018-03-05
    • 1970-01-01
    • 1970-01-01
    • 2011-09-02
    • 2011-05-05
    • 2014-03-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多