Expand my Community achievements bar.

Elevate your expertise and be recognized as a true influencer! Nominations for the exclusive Adobe Community Advisor program 2023 are now OPEN.

Exit script if cancel is hit.

Avatar

Not applicable
I have a form with several buttons, each of which takes the user through a series of prompts using the app.Response function. Is there a way to exit the function and not run any further code (other than a large series of if-loops) if the user presses the cancel button for one of the prompts?



Thank you



Paul Washburn.
1 Reply

Avatar

Not applicable
Managed to find it, in case anyone else needs to know the command was



quit();