Today, I've been working on a database that sends reminders to users and in the script on the server but called from a robot file running on a Mac. It's to save the file as a PDF, then attach it to the email and then send. It works perfectly if I use the dialog, but without the dialog, no pdf is attached. Can anyone tell me why or a work around? I'd like the script to run automatically called from the robot file and send from a local mail account in mail.app. I would appreciate anyone's help.
Thanks ahead of time.