Google-docs – How to automatically start an add on for Google Docs

google docsgoogle-docs-addon

I'm currently using the Code Blocks add on for Google Docs but everytime I open a new tab, it requires a manual restart.

Is there anything that can be done, perhaps writing something custom (like google apps script) or configuration on my end so that on open the addon automatically starts for this document and this document only?

enter image description here

Best Answer

Based on my experience developing unlisted add-ons, at this time it's not possible for end-users to add features to add-ons, like automatically clicking a menu, only the add-on developer could add them. In this case the add-on developer could add a mean for the end-user to create an installable on open trigger.

AFAIK the above is not explicitly mentioned on https://developers.google.com/apps-script.

My suggestion is to send feedback to the add-on developer.