1 Reply Latest reply on Jul 14, 2014 11:49 AM by philmodjunk

    Halting Script Execution before File Open

    ErikKastman

      Title

      Halting Script Execution before File Open

      Post

           Hi all,

           I accidentally created a script that automatically closes a Filemaker database with an open action, so I'm stuck in loop that closes the file as soon as it's opened.

           Is there a way to open a filemaker file without running any of the script triggers, so that I can get in and edit the trigger? Or a plugin that disables triggers temporarily?

           Thanks for any advice,

           Erik

        • 1. Re: Halting Script Execution before File Open
          philmodjunk

               If you have FileMaker Advanced:

               1) Launch FileMaker Adavanced without trying to open this file.

               2) Enable the script debugger

               3) open the file and use the debugger to cancel the script when it pops up in the debugger.

               This is one of the major headache removal benefits of using FileMaker Advanced.

               If you do not have Advanced:

               Do you have more scripts defined in that file besides this one problem script?

               If so, Set up a different file with an external data source reference to the problem file. Perform a script in this second file that uses perform script to perform a script in the problem file--any script except one that closes the file.

               Run that script in the second file and then use the Window Menu (or the Show sub menu in windows) to find and bring a window for that file to the front where you can open file options and remove this script from the OnFirstWindowOpen script trigger setting.