【发布时间】:2012-07-14 10:57:29
【问题描述】:
我确实在几台计算机上工作,并使用我的电子邮件地址来保存我的文件的额外保存副本。我想要 Microsoft Word 的 Automator 服务,该服务向我自己发送一封电子邮件,其中当前的 word 文档作为附件,标题作为主题。如果我可以在 Word 中有一个宏来做同样的事情,那也很棒。谢谢。
【问题讨论】:
标签: email ms-word applescript automator
我确实在几台计算机上工作,并使用我的电子邮件地址来保存我的文件的额外保存副本。我想要 Microsoft Word 的 Automator 服务,该服务向我自己发送一封电子邮件,其中当前的 word 文档作为附件,标题作为主题。如果我可以在 Word 中有一个宏来做同样的事情,那也很棒。谢谢。
【问题讨论】:
标签: email ms-word applescript automator
您可以将其作为 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
【讨论】: