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

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

Recommended Posts

Posted

Are subscripts covered by the Allow User Abort [Off] in the calling script? -- or does each script have to protect itself?

The Help File simply says "FMP automatically turns Allow User Abort on after the script finishes running". Which script?

Does anyone happen to have experience with this in order to provide a definitive answer?

Thanks in advance.

Posted

The Help File simply says "FMP automatically turns Allow User Abort on after the script finishes running". Which script?

The last script.

Yes, if you turn it off in a script, it will stay off for sub scripts. Also, if you turn it off in a sub script, it will remain off for the rest of the parent script as well.

You could always do some tests with the Get(AllowAbortState) function to see for yourself.

Posted

The last script.

Yes, if you turn it off in a script, it will stay off for sub scripts. Also, if you turn it off in a sub script, it will remain off for the rest of the parent script as well.

You could always do some tests with the Get(AllowAbortState) function to see for yourself.

This is what Script Debugger is for.

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