if you have advanced...
Open Filemaker. Dont open the file. Start the script debugger. Open the file. Stop the script with the red x in the debugger at your leisure.
if you dont have advanced:
Create a new blank file.
in the blank file perform a script in the other file.. anything but the script that runs on first window open.
execute the script and it should leave the problematic file open in a state where you can edit the offending script.
if its with a specific layout then execute a script that does not go to the offending layout
I do not have a script debugger (FMP 14, NOT advanced).
new file <?? what ... a new database?
Here are two ways to open the file. Both require you have Full Access to the file.
1. If you have FileMaker Advanced then open the script debugger before attempting to open the file. This will trap the startup script.
2. Create a new file and establish a relationship from it to the first file. Create a script in the second file that calls a script (not the startup script) in the first file.