Jump to content
Server Maintenance This Week. ×

File open script step


This topic is 2833 days old. Please don't post here. Open a new topic instead.

Recommended Posts

FMP Adv 15. I’m using the file open script step to open a filemaker file (file2). File2 has a script trigger on first window open but it does not run when it opens. Is there a way to run a script in file2 when it opens?

Link to comment
Share on other sites

Do you have the option set to open file2 hidden?  The script trigger does not work on file open but as the name says, onFirstWindowOpen.  If you open file2 in such a way that it does not render a window then that trigger does not run.

This is a use case where I would not rely on triggers.   You want to explicitly open file2 and have it run a script.  So do that explicitly in your script:

- open file2

- run script in file using the "perform script" script step

Link to comment
Share on other sites

This topic is 2833 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.