K1200 Posted January 7, 2011 Share Posted January 7, 2011 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. Link to comment Share on other sites More sharing options...
dansmith65 Posted January 8, 2011 Share Posted January 8, 2011 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. Link to comment Share on other sites More sharing options...
Lee Smith Posted January 8, 2011 Share Posted January 8, 2011 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. Link to comment Share on other sites More sharing options...
K1200 Posted January 8, 2011 Author Share Posted January 8, 2011 Get(AllowAbortState) That's good to know. I had never noticed I could query the current state. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4851 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 accountSign in
Already have an account? Sign in here.
Sign In Now