As a script to run other scripts?

I need to combine the three into one script. I would like to do so, to create three script, and in the fourth to register link to them?
April 7th 20 at 10:39
2 answers
April 7th 20 at 10:41
well, loop Google will not work
Found your website in such code, it is about something else?
function f1(){
 return f2()+100;

function f2(){
 return 200;

I can not understand how to use it, can you explain? - rosalia commented on April 7th 20 at 10:44
April 7th 20 at 10:43
You need an entry point. And when we run scripts from the editor it all seems obvious. But it's not. Valid following entry points:

  • Endpoint (webapp)
  • Menu
  • Script editor
  • The trigger

The situation when all the code is in one project is not considered.

Accordingly, now you need to choose which path to choose. Obviously a challenge from the menu and the script editor disappears. Remains or for each script to publish the web application and call them from one location, or configure for each project is the trigger that will be initialized at a convergence of certain conditions.


Find more questions by tags Google Apps Script