GAS - Get Bounded Script ID from another project

2020-03-26 08:36发布

Is there a way to get the id of a script embedded in a spreadsheet (not the id of the spreadsheet) from another script (in other file)?

I have a main standalone script that copies a spreadsheet that contains a script (web app code). I need to get the id of this script and use it to create a deployment with the apps script API REST.

Is there any other way to programmatically deploy a bounded web app script in a spreadsheet?

Apologies for my bad English, I´m using the translator

0条回答
登录 后发表回答