Entering the Workshop
Every master builder needs a workshop. Today, we find yours.
In this module, we will learn how to find the "Hidden Door" inside Google Sheets that leads to the Apps Script Editor.
- How to launch the Script Editor from a Google Sheet.
- Understanding the "Save", "Run", and "Log" buttons.
- How to authorize your script (The Secret Handshake).
This is for everyone who has ever wondered, "What does that Extensions button do?" If you have a Google account, you already have the key to this workshop!
Imagine you are playing Minecraft. You can play the game normally, OR you can open the command console to change the weather or give yourself diamonds.
The Script Editor is the Command Console for your Google life. It lets you go beyond the normal "buttons" and create your own rules.
The Script Editor is just a website where you write code. It has three main parts:
- The File List: On the left (usually named
Code.gs). - The Code Area: The big space in the middle where you type.
- The Toolbar: At the top with the Save and Run buttons.
Once the editor opens, you will see some text like function myFunction() { }. We are going to replace it with something cooler.
Step 1: Select all the text and delete it.
Step 2: Type the code below exactly as you see it.
// This is our first real test
Logger.log("Engine Started! 🚀");
}
This is where most beginners get stuck, but not you! When you click Run, Google will ask for permission.
1. Click Review Permissions.
2. Choose your Google Account.
3. If it says "Google hasn't verified this app," click Advanced (bottom left).
4. Click Go to [Your Project Name] (unsafe). (Don't worry, it's safe because YOU wrote it!)
5. Click Allow.
Now, look at the bottom. You will see: Hello from the Editor!
Help! I see an error message!
"Function not found": Make sure you clicked the "Save" icon (the floppy disk) before clicking Run.
"Missing ;": Check if you forgot to close the brackets } or the parentheses ).
Try changing the text inside the Logger.log to your favorite food. Save it, run it, and check the log!
System Administrators use this "First Run" process to set up massive automated systems that handle school enrollments or hospital records. Even the biggest apps started with a single Logger.log!
You’ve done it! You found the workshop, opened the console, and survived the permissions popup. You are now officially a Script Developer.
Status: Editor Master 🛠️ | Level: Junior Builder 🧱