Filemaker Open File script command
I want to be able to make a script that allows a user to save a copy of the database to a specific file name, and then have the script immediately open that file. Is there any way to do this?
Store your filename and path to where you want to save the file in a variable.
Set Variable[$Path; Value: //put path and file name here]
In the Save a Copy as script step, select the Specify Output File option and enter $Path as the sole entry in the Output File List pane.
At the bottom of this dialog, there's an option: Automatically open file.
Select that option so that the newly saved copy opens automatically.
Make script FileOpen for example and set under File Options that file opening run this script.
Script is simple:
Save a Copy as [copy]
Retrieving data ...