Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7824 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

I've got FileMaker 6 unlimited running on a Mac with OSX. I'm trying to automate the printing and emailing of pdf documents. Right now I have FileMaker print to PDF, Troi rename the file, and SMTPit mail the file as an attachment.

My problem: at times, FileMaker doesn't print to PDF quickly enough, and Troi (which is next in the script) has no file to rename. The user gets no attachment. Even worse, the next user gets the attachment belonging to the previous user. I could split up the printing and and renaming, leaving some time between them, but I'm afraid the files might still end up going to the wrong people because this is a web application, and a number of people could be going through the process at the same time.

Question: Is there any way to script the naming of the file in FileMaker (using the contents of a field), so that I don't have to rename it afterwards?

Thanks!

Posted

You may have to put a wait loop in your script to pause for a few seconds, check to see if the pdf file exists yet and repeat until it does.

This topic is 7824 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.