Press Ctrl/β + S and wait until the "Savingβ¦" message disappears
Choose step1_authorise in the function dropdown, click Run βΆ and authorise when prompted
Now choose createExamForm and click Run βΆ
Check the Execution log for your new Form URL
β οΈ Steps 3β4 matter: this script is large (the question images are embedded in it), so running it before it has finished saving can hang and then fail with a permission error. Running the tiny step1_authorise function first makes the authorisation dialog appear straight away. Click "Advanced" β "Go to (project name)" if you see a warning, and allow pop-ups for script.google.com.
π What does it access? Only Google Forms. The script creates one form and embeds your question images directly into it. It has no access to your Drive, Gmail, or any other data.
π‘ Tip: If your school account blocks unverified scripts, run the script from a personal Gmail account, then open the finished form from your school account and use File β Make a copy to bring it into your school Drive.
Disclaimer: This tool generates Google Apps Script code that you run in your own Google account. By copying and executing this code, you do so entirely at your own risk. Teaching with Tech and its author accept no liability for any loss, damage, or unintended consequences arising from the use of this code, including but not limited to changes to your Google Drive, Forms, or associated account data. You are solely responsible for reviewing the code before running it and for any permissions you grant during the authorisation process. This tool is provided "as is" without warranty of any kind, express or implied.