Hal Jenkins Posted June 29, 2006 Posted June 29, 2006 Hi I would like to know if there is a way of checking to see if a file exists when using the Save Records as PDF script step. I am deriving the file name based on record attributes, but want to prompt the user to over write if exists. I will do with an AppleScript if necessary, but would prefer to do with FM. Thanks halski
John Mark Osborne Posted June 29, 2006 Posted June 29, 2006 I fooled around with it for 20 minutes or so and couldn't figure out anything. Actually, I got pretty close by placing the path name for the PDF document in a Container field. Unfortunately, the only way to test if that path is valid is to use it. I tried opening the PDF which works but opens the PDF. I also tried inserting the path in the Container field but FileMaker insists on showing the Open dialog when it can't locate a file. Maybe somebody else will come with something. However, I think you will need to use AppleScript or the Troi File Plug-in < http://www.troi.com/ >.
Recommended Posts
This topic is 6722 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