Import from Outlook Express to Filemaker (mac) - modification
Import from Outlook Express to Filemaker (mac) - modification
- Subject: Import from Outlook Express to Filemaker (mac) - modification
- From: "email@hidden" <email@hidden>
- Date: Sat, 23 Feb 2002 16:41:09 +0000
Dear list
I have a script (below) that imports from (Mac) Outlook Express 5.02 "INBOX'
into Filemaker Pro 5.03 which works as it should, but I would like to
Change/add to it and would like some help as follows
Add the following:
1) I would like to CHOSE the folder to import from OE
2) I would like to have the selected folder NAME put into a field in FMP
3) I would like all messages imported to be move to a another folder - eg
'imported' or to be able to CHOSE where to move them !!
Mac G3/OS 8.6 AS 1.3.7
Many thanks
-----------------------------------------
tell application "Outlook Express"
set totalmessages to count messages of folder 1
repeat with x from 1 to totalmessages
set mymessage to content of message x of folder 1
set mysender to sender of message x of folder 1
set senderaddress to address of mysender
set sendername to display name of mysender
set myfrom to sendername & " <" & senderaddress & ">" as string
set mysubject to subject of message x of folder 1
set mydate to time received of message x of folder 1 as string
tell application "FileMaker Pro"
set newrec to create new record of database 1
--If your field names in Filemaker vary, you can edit them here.
set cell "message" of newrec to mymessage
set cell "from" of newrec to myfrom
set cell "subject" of newrec to mysubject
set cell "date_sent" of newrec to mydate
end tell
end repeat
end tell
-----------------------------------------
(*This script was provided by Diana of VivaLaData -
http://www.vivaladata.com.
You're welcome to use it at your own risk, but please leave this statement
in tact.
The purpose of this script is to export messages from the inbox of Outlook
into Filemaker.
I run this script with with inbox as the front most mailbox. Your target
database must also
be the front most database. The field names I'm using are message, from,
subject, and date_sent.
They're all text fields. You can alter them below if necessary. I'm using
Outlook Express 5.02
and Filemaker 5, but it should work with other versions of Filemaker and
probably other versions of Outlook as well.*)
-----------------------------------------
_______________________________________________
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.