Can I use something like die() (in php) at my Apps Script application? I googled this question, the most acceptable solution is to throw new Error, but in this case I don't want to receive notification about script crash (as I not the only one who receives them).
I just want to terminate the script.
Here's how. Step 1: Open the email from [email protected]_ and click the link that says “Click here” as shown below. Step 2: On the triggers page, click the notifications link. Step 3: On the Execution failure notification screen, click the little x button and press OK.
var ss = SpreadsheetApp. This line retrieves the current spreadsheet that's active. Since you're only running this script when the spreadsheet you want to run the calculation on is active, it'll always get the correct spreadsheet. The sheet gets saved as an “object” variable called “ss”.
If you are in the code editor, and want to stop a script from running, you can click the "cancel" link in the toast display.
Or you can click "View" -> "Executions" from the code editor and then terminate the script.
You can also go directly to your executions at the link:
https://script.google.com/home/executions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With