【问题标题】:Use Automator to email a word doc使用 Automator 通过电子邮件发送 Word 文档
【发布时间】:2012-07-14 10:57:29
【问题描述】:

我确实在几台计算机上工作,并使用我的电子邮件地址来保存我的文件的额外保存副本。我想要 Microsoft Word 的 Automator 服务,该服务向我自己发送一封电子邮件,其中当前的 word 文档作为附件,标题作为主题。如果我可以在 Word 中有一个宏来做同样的事情,那也很棒。谢谢。

【问题讨论】:

    标签: email ms-word applescript automator


    【解决方案1】:

    您可以将其作为 AppleScript 单独运行,也可以将 AppleScript 插入您的 Automator 工作流程中。

        tell application "Microsoft Word"
        try
            set theTitle to name of front document
        end try
        send mail front document
    end tell
    
    tell application "Mail"
        activate
        tell its outgoing message 1
            set subject to theTitle
        end tell
    end tell
    

    【讨论】:

    • 这会将电子邮件的主题作为文档名称吗?
    • 如何让它在所有文档编辑应用程序中通用?
    猜你喜欢
    • 2023-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-07
    • 1970-01-01
    • 1970-01-01
    • 2015-06-15
    • 2021-04-10
    相关资源
    最近更新 更多