Re: Entourage > Filemaker
Re: Entourage > Filemaker
- Subject: Re: Entourage > Filemaker
- From: Michelle Steiner <email@hidden>
- Date: Tue, 19 Dec 2000 12:52:59 -0800
On 12/19/00 12:31 PM, Jacco Rens <email@hidden> wrote
>
Seemed a good starting point, but it gives me errors on the "message_subject
>
is not defined" hmm I thought I told it to set itself right?
>
>
This is realy a chicken and egg story, how can I search for the right syntax
>
if it's not in my filemaker database :-)
Try this:
on run
tell application "Microsoft Entourage"
set ThisList to selection
repeat with This_Msg in ThisList
set message_Subject to subject of This_Msg
set message_Body to content of This_Msg
set message_Address to sender of This_Msg
set message_Sender to (display name of senderAddress)
tell me to write_record(message_Subject, message_Body,
message_Address)
end repeat
end tell
end run
on write_record(message_Subject, message_Body, message_Address)
tell application "FileMaker Pro"
create record at end of database "Applescripts email archive"
with data ,
{message_Subject, message_Body, message_Address}
end tell
end write_record
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------