I have created a script to A) preview a layout B) Create a pdf C) attach to an email.
How can the user cancel out of the preview and return back to the origanal layout. ( Thus stopping the script from continuing.)
Im trying to work out how to stop the script from continuing to sending the email.
Sorry if this is not to clear...