Are you using set error capture [on]& allow user abort off?
No, it's literally the two lines as show above!
Ok, I put allow user abort off at the start of the script, that works, closes the database, but still shows the quick start menu. I would actually like filemaker to close so they can't go in and open a file through recents in the quickstart. Also, how do I now get into the initial files script to edit it, before the second file loads.
Windows - SHIFT key
Mac - COMMAND key
If you have a Mac system and you can hit the buttons fast enough and the script does not disable user aborts, you can press command-period to halt any currently executing script---such as the start up script. On windows systems, the Esc key does the same job.
If you have FileMaker Advanced, do this:
Launch FileMaker without opening your file.
Select the script debugger from the tools menu.
Now use the file menu to open your file--entering a password if asked to do so.
The file will open and halt on the first script step. You can then click the red X in the debugger to halt the script--even if user aborts have been disabled.