Hi All,
I have been able to set a recipient list in Entourage 2004 referencing a field in FileMaker (Advanced 8.5). Now, I want to set the bcc list and have successfully tested it with text rather than as a variable, but when I reference the FileMaker field the information turns out blank using the same script I used for the recipient list that worked!
Here’s an example of the script I’m using (interchanging recipient (working) for BCC recipients (not working) when
needed):
tell application “FileMaker Pro Advanced”
set r to {"something", "item 2", "3rd item", "replace me"}
set AppleScript's text item delimiters to {","}
set bcclist to (field "contact_email" of layout "Form View Campaigns")
set AppleScript's text item delimiters to {""}
set item 4 of r to bcclist
end tell
tell application “Microsoft Entourage”
set newMsg to make new draft window with properties {BCC recipients:bcclist}
end tell
That just opens up a blank new message. However, when I set the recipient to bccList it works fine.
Can anyone tell me what I am doing wrong and how I can get my bcc list to work properly?
Thanks