January 7, 201115 yr 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.
January 8, 201115 yr 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.
January 8, 201115 yr 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.
January 8, 201115 yr Author Get(AllowAbortState) That's good to know. I had never noticed I could query the current state. Thanks.
Create an account or sign in to comment