views:

52

answers:

1

Hi,

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

Can someone help me?

Thanks in advance. Regards, Deepa

A: 

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
Philip Regan
Thanks Philip. I will try.
Deepa