I am trying to write a script that will run upon opening the layout (I wanted when you open the file, but it appears my FMP doesn't have that feature, no problem, the file will always open from the layout I want the script to run from) ** I see that the script trigger for upon" window open" is under File, File Options, Script Triggers***
If the file name = "X"
Then prompt to save a clone (is there a way to not have it say "clone" at the end of the file name?)
Automatically open file the new saved as file
Close original file "X"
Here is what I have, I can get everything to work except "automatically open." I thought I was closing the "new" file, but I took off the "close file [current] for the script and the file still wasn't automatically opening. Visuals below. File attached.