ljensen1 Posted June 25, 2003 Posted June 25, 2003 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!
BobWeaver Posted June 26, 2003 Posted June 26, 2003 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.
ljensen1 Posted June 27, 2003 Author Posted June 27, 2003 Thanks for the loop suggestion. That worked well.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now