OnFirstWindowOpenTriggers a script to run each time you open a window of a database file when no other windows for the file are open.OnFirstWindowOpen activates before FileMaker Pro enters a mode.FileMaker Pro 12.0Although this is typically the first time you open a file, you can also trigger a script this way when you open a window for a hidden file previously opened via a script or relationship.