Re: passing a list to FMPro from Mail
Re: passing a list to FMPro from Mail
- Subject: Re: passing a list to FMPro from Mail
- From: John Mitchell <email@hidden>
- Date: Sun, 05 Apr 2015 11:13:36 +1000
Scripters
I have an applescript which captures a list of email recipients, and then saves it to a global variable in FMPro, all defined as an Apl script in a FMPro script.
FMPro 13.0v5, OSX 10.9.5
the elements are:
step 1: property odbActivities : "Activities" tell application "Mail" set theMessages to selection set theEmail to last item of theMessages tell theEmail set personList to (name of recipients of theEmail) set personList to personList & (name of to recipients of theEmail) set personList to personList & (name of cc recipients of theEmail) end tell end tell
Step 2:tell application "FileMaker Pro Advanced" set cell "gMember_list" of layout 0 of document odbActivities to personList end tell
This has been working for a long time (the last edit of this script was 19 Nov 2010)
Now however instead of the list I only get the first item of the list.
I discovered this adding a new script with a similar task.
Paradoxically the saved FMPro script runs successfully, but testing the separate components in SD and the new script both fail.
I used a string instead of a list but equally failed.
Any suggestions please? |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden