Email selected contacts using checkbox and script
I am attempting to create a script but cannot figure out how to work it. I think I am doing it too simple.
I have a field of checkboxes (named Email Boxes) with values:
This goes for like 5 contacts that are on the same particular record. The email fields for those records are "Contact Management::Email 1", "Contact Management:: Email 2", and so forth.
My non working script looks like this (this is the first email and second part, it is duplicated for each of the other e-mails)
If [Contact Management::Email Boxes = "Contact 1"]
Send Mail [Send via E-mail Client; To: Contact Management::Email 1]
If [Contact Management::Email Boxes = "Contact 2"]
Send Mail [Send via E-mail Client; To: Contact Management::Email 2]
My ideal goal is that when specific button is clicked it will open up Apple Mail with only the contacts selected loaded in the "To" field of an e-mail.
I would also like a "Select all" feature, but that I haven't even gotten to that step yet.
Thanks. This forum is so helpful for a newbie like me!