funny FM/AS/OE behavior - Help!
funny FM/AS/OE behavior - Help!
- Subject: funny FM/AS/OE behavior - Help!
- From: Daniel Rautmann <email@hidden>
- Date: Tue, 10 Dec 2002 09:37:55 -0800 (PST)
Hi,
Attempting to make sure everything works on the
different computers in my office, I tried the script
below that works on my machine on another machine and
got an OE error message: wrong data type. It's not in
the bcc list or attachment portion, since I tested
them separately after the problem occurred. Anyone
know what is wrong?
Here's the script:
tell application "FileMaker"
set bccList to cell "radiopromo_bcclist" of
current record
end tell
tell application "FileMaker"
set attachmentList to {}
set cellNames to {"g_radiopromo_filepath",
"g_radiopromo_filepath2", "g_radiopromo_filepath3",
"g_radiopromo_filepath4", "g_radiopromo_filepath5"}
repeat with i from 1 to count cellNames
set cellData to cell (item i of cellNames)
if cellData is not "" then copy cellData to
end of attachmentList
end repeat
end tell
tell application "FileMaker"
set emailAddress to
"email@hidden"
set theSubject to cell "g_radiopromo_emailsubject"
of current record
set theContent to cell "g_radiopromo_emailgeneral"
of current record
end tell
tell application "Outlook Express"
set newMsg to make new draft window with
properties {subject:theSubject, content:theContent,
recipient:"email@hidden", BCC recipients:bccList,
attachment:attachmentList}
end tell
Thanks,
Daniel
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
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.