missedplaced Posted May 14, 2005 Posted May 14, 2005 I am working with FMP 5.5 and I have related parent to child files. In child file, I have a very long script and when in the child file and when executed, works great. However, when I attach it to the preferences-> Document "when Opening File" ->"perform script" it does not perfrom the script! Why would it not perform the script when I open the file? Many thanks in advance!
MoonShadow Posted May 14, 2005 Posted May 14, 2005 Odds are FM has already opened the file because of the relationship to your main file. If a file is opened in response to your main relationship, startup scripts in child are bypassed. You can resolve this in various ways ... mainly, open your child file when you open your main file. Be sure you are on a layout in main which doesn't call the child file then script opening the child. In this way, the child's startup script will execute.
missedplaced Posted May 14, 2005 Author Posted May 14, 2005 ahhh, yes. That would make since. Sometimes you can't see the forest for the trees! Thanks again!
Recommended Posts
This topic is 7480 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