适用于 Mac Office 2011 的 Applescript

发布于 2024-09-27 02:31:47 字数 66 浏览 2 评论 0原文

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

Is there any Applescript available that sends either an URL or array of images as attachment of the mail through Mac Office 2011?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听,心雨的声音 2024-10-04 02:31:47

另请参阅:

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

另外:

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

Also see:

MS Outlook 2011 sp1 V14.1.0 changes the apple script dictionary..
http://www.officeformachelp.com/2011/04/microsoft-updates-applescript-dictionary-for-outlook-2011-sp1/

also:

run send all -- forces mail in out box to be sent right now

自由如风 2024-10-04 02:31:47

鉴于 Office 2011 非常新,我会很惊讶您会发现可以在 Office 提供的示例脚本之外使用现成的代码。 这就是字典的用武之地;字典会告诉您应用程序响应的所有内容、可以操作哪些对象等。 第一次编写应用程序脚本时,字典将始终是您首先查看的内容。

即使对于 Applescript 的新手来说,你所问的问题似乎也不太难弄清楚。

更新:这是 Entourage 2008 的代码。我想 v2011 不会偏离太多,因为它非常简单:

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

Seeing as how Office 2011 is very new, I'd be surprised you'll find ready-made code to use outside of an example script given with Office. This is where the Dictionary comes in; the Dictionary tells you everything that an application responds to, what objects can be manipulated, etc. When scripting an application for the first time, the Dictionary will always be the first thing you look at.

What you are asking doesn't seem like it would be too hard figure out even for someone who is new to Applescript.

UPDATE: Here is teh codez for Entourage 2008. I would imagine that v2011 wouldn't stray too much from this because it is very straightforward:

tell application "Microsoft Entourage"
 set newMessage to make new outgoing message with properties {subject:"New Outgoing Message Subject", recipient:"[email protected]", content:"Message Body", attachment:{pathToFile1, pathToFile2}}
end tell
--> RESULT: A new message appears in the Outbox with the content placed
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文