Re: Apple Script for Multiple attachments to Outlook Express from FileMaker
Re: Apple Script for Multiple attachments to Outlook Express from FileMaker
- Subject: Re: Apple Script for Multiple attachments to Outlook Express from FileMaker
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 22 Oct 2002 19:28:54 -0700
On 10/22/02 5:02 PM, "Daniel Rautmann" <email@hidden> wrote:
>
Hi All,
>
>
Thanks to Bill White and a few modifications, the
>
script below is what I am using to allow a user
>
attached file to an email from FileMaker data to
>
Outlook. However, I now want to be able to add more
>
than one attachment. I tried a few things (&, {},
>
etc.) with no success. Any ideas?
>
No ideas necessary. Just follow OE's AppleScript Dictionary.
>
THE SCRIPT::
>
>
>
set attachment1 to cell "g_filepath1"
set attachment2 to cell "g_filepath2"
set theAttachments to {file:alias "g_filepath1", file:alias "g_filePath2"}
>
>
set emailAddress to cell "email" of current record
>
>
set theSubject to cell "subject" of current record &
>
"- Radio Manual"
>
>
set theContent to cell "emailbody" of current record
>
>
tell application "Outlook Express"
make new outgoing message at folder "Outbox" with
properties {subject: theSubject, content:theContent,
recipient:emailAddress, attachment:theAttachments}
>
end tell
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.