I want to write a Google Apps Script to generate a list of the IDs of the scripts bound to certain spreadsheets.
I cannot find a way to programmatically, via GAS, get the ID of a bound script.
If I have a
spreadsheet
object, I have methods likegetId
to get the ID of the spreadsheet, but not the bounded script.Using the DriveApp, I can find standalone scripts using
DriveApp.getFilesByType('application/vnd.google-apps.script')
but not bound ones!
Any suggestions?