Join Scott Simpson for an in-depth discussion in this video Understanding script types and permissions, part of Up and Running with Google Apps Script (2013).
There are two primary categories of scripts.…Standalone scripts and container bound scripts.…Standalone scripts, live inside the script editor environment.…And generally they run as you.…That is, they run as the user currently…logged into the Google account running the script editor.…When we get into web app publishing, that can change a little bit.…But for now, think of standalone scripts like a code file on your computer.…You run it.…It runs as you.…It connects as your data, and not anyone else's…unless they've shared a particular piece of data with you.…This is the type that I'll be using for most of the…course, since it allows a lot of flexibility for testing and learning.…
The container-bound scripts live inside of something else.…A container like a Google Doc, Spreadsheet Form or Site.…You'll probably want to create a container bound script eventually, since…they're generally more useful when redistributed than the stand alone type.…Their how you'd add a custom menu or function to a Spreadsheet.…For example,…
- What is Google Apps Script?
- Creating and editing files with Apps Services
- Storing data for your script
- Using events and triggers in containers
- Building custom spreadsheet functions
- Sharing your script as a web app
- Serving JSON or XML from your script
- Publishing your app in the Chrome Web Store