I've created a Google Sheet in which I am using the Autocrat Add-on. I've created a script that takes further actions that I would like to triggered by onFormSubmit().
What I notice is that if I run the script in the Script Editor, it executes fine and takes the actions on the spreadsheet that I want it to successfully. When I submit a new entry on the form, however, it doesn't run the script - regardless of whether Autocrat is configured to take action onFormSubmit() or not. (This functionality was just added back by the add-on authors in the last couple of days).
This is a two-part question:
1 - is there any way to get the script executing after (or before, in my case it doesn't matter) an Add-on does its thing?
(The Autocrat developers have not yet posted the code for the add-on on GitHub so I'm only able to speculate as to what's happening in there.)
2 - is there a way for me to trigger the add-on's functionality with a script in a different sheet? Autocrat has a "Run Merge" function which can be accessed by pressing a button in the interface of a sheet. I would like to be able to trigger this from a user event in a different sheet.
My instinct is that the answer to both these question is 'wait for the developers to release their code' but wanted to see if anyone with more experience has other thoughts. Any help would be most appreciated.