Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Gordon:

Welcome to the Forums.

If you're using FileMaker Developer, you can turn the script debugger on, and that will let you stop the script. Otherwise, you've got to try to halt the script while it is running, which can be tricky with startup scripts. The keyboard command is cmd-. (or open-apple - period), and you've got to catch the script before it closes the window. You may have to try a few times.

Just so you know, this kind of problem with startup scripts is something we all run into at some point or other.

-Stanley

Posted

Hi Gordon,

Please up date your Profile. The link is just below your name on the left side of this thread.

TIA

Lee

Posted

If the script has Allow USer Abort [ off ] at the start then no amount of Escape key pressing will work.

Do a search in the Forums, this exact same question was asked -- and answered -- just last week.

Posted

Ilyse Kazar posted this on the FMExperts list in answer to a simillar question:

Kevin Frank posted this tip, I believe on another list, and I just checked it out. It appears to work fine.

If you force the file you are attempting to "hack" open by relationship, or by defining a value list pointing at one of its fields, sure enough - as I and others here have noted - as soon as you choose the file from the Window->Show Window menu the opening script runs.

However (here's Kevin's tip) -- if you instead open the file by performing one of its scripts (as an External Script) from another file, then choose the file from the Window->Show Window menu, *the opening script will not run*.

For example, in a little test file I wrote an On Open script that simply closes the current window. Hard to get that window open, right? Well, I wrote another little script that simply goes:

Go to Layout [Layout #2]

If I then close the window/file, and perform the Go to Layout script from an external file, and then choose the window from the Window->Show Window menu, all is well.

try it!

Thanks, Kevin, for that tip. However, this leaves me confused once again regarding what ARE the rules that now govern when opening scripts are run. I thought I'd finally gotten it straight.

This topic is 7062 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.