I need to find a way to have one Google Apps script file trigger a function in another script file.
My goal is to have a master script that copies another script file and creates a new file (this is already done), then triggers a function in the new file. Is this possible?
I am creating a series of fully automated job application scripts and what I need is a master script that creates each of the other scripts. Currently, each job application has a file structure like this:
-Folder --Step 1 (script file for resume upload) --Step 2 (spreadsheet with attached script file for storing step 1 data) --Step 3 (interview scheduling form with an attached script file) --Step 4 (skills test spreadsheet with attached script file) --Step 5 (script file for skills test file upload)
What I need:
-My master script needs to be able to create triggers for unrelated script files 1-5, and I would also prefer it if I could create and append new functions dynamically to those files. I can't have all the code in one file, because each job application requires a unique form with different questions and different job description.