Email script to send a PDF invoice
I am new to Filemaker. I have created a file with a demographic database. I want to send an email to each person in the database with an invoice that is customized for that individual. I have created the invoice as a layout. I have tried to create a script that will save the invoice as a PDF and then create an email with that PDF attached. I understand that a "filepath" has to be created to do that and that I have to use a variable to make a temporary file into which the pdf will be placed. The pdf then gets attached to the email. I am not sure how to create a temporary filepath (OSX), save the pdf and retrieve it.
Thanks for your help!