• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: passing a list to FMPro from Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?

regards


John

Email:  email@hidden • Mob: +61 410 318 131
 _______________________________________________
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

  • Follow-Ups:
    • Re: passing a list to FMPro from Mail
      • From: Christopher Stone <email@hidden>
  • Prev by Date: The Case of the Missing Case Statement
  • Next by Date: Re: passing a list to FMPro from Mail
  • Previous by thread: AppleScript and Illustrator, including some history
  • Next by thread: Re: passing a list to FMPro from Mail
  • Index(es):
    • Date
    • Thread