Filemaker, Outlook Express and paragraphs wraps
Filemaker, Outlook Express and paragraphs wraps
- Subject: Filemaker, Outlook Express and paragraphs wraps
- From: Pier Kuipers <email@hidden>
- Date: Mon, 18 Jun 2001 16:50:04 +0100
Here is an interesting one: I created a script similar to the one
below for use with a Filemaker database and Outlook Express.
Tell app "Filemaker Pro"
set theEmailText to (get data of cell "EmailText" of current record)
end tell
tell application "Outlook Express"
activate
set body to theEmailtext of me
set theEmail to {content:body}
set theMsg to make new draft window with properties theEmail
end tell
The script compiled without problems, but on creating the message,
Outlook Express would wrap all paragraphs to a certain width ("Philip
Bar", I presume).
I changed the Filemaker "tell" statement to
set theEmailText to (get data of cell "EmailText" of current record) as text
(note the *as text* addition)
This time, the email essage was created without wrapping paragraphs,
which is what I wanted. But now for the Twilight Zone bit: I can't
re-create the problem. Outlook Express no longer wraps the
paragraphs, "as text" or no "as text". I can't figure out what
Outlook is doing. Is it changing default prefs or something? Anybody
who can shine a light?
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com