Unit 3 · Module 2
Google Apps Script
What Apps Script is, the naming conventions across every Google product, and how to read a script you find in the wild
Where this module sits
Module 1 introduced the host idea, host globals, and the four-part anatomy of any script. This module makes all of that concrete in one specific host: Google’s. The goal is to read an Apps Script — Sheets, Docs, Gmail, whichever — and know what every piece of it is doing.
The five pages
- What Apps Script Is. The runtime, where the code lives, and why scripts can read your Gmail without juggling OAuth tokens.
- The Apps Script Naming Convention. Cheat sheet: the
XxxAppglobal for every Google product, thegetActive___()pattern, and the capitalization rules. - Walking The Hierarchy. Why Apps Script code chains so
many
.something().something()calls — and what each step is pointing at. - Triggers. Simple triggers, installable triggers, and the editor UI where they get configured.
- Reading An Apps Script You Find In The Wild. A real-looking script walked line-by-line using the layers, parts, and hierarchy from everything above.
Module 3 picks up Airtable scripts after this. Same shape, different host.