There are two main classifications of scripts: standalone scripts and container-bound scripts.
- Standalone scripts
- Container-bound scripts
To learn more about permissions and access levels for standalone scripts, see Scripts and Google Accounts.
You can also create a standalone script directly from Google Drive.
The first time you want to create a script from Drive, follow these steps:
- Go to Google Drive and click Create > Connect more apps.
- When the "Connect apps to Drive" window appears, type "script" into the search box and press the Enter key.
- Click Connect next to the listing for Google Apps Script, then click OK in the confirmation window.
Now that you've connected the app, you can create a script by selecting Create > Script.
To create or open a container-bound script, you must have editor or owner access to the container. To learn more about permissions and access levels for container-bound scripts, see Scripts and Google Accounts.
Google Apps Script supports four types of containers: Google Docs, Sheets, Forms, and Sites.
To create or open scripts bound to a document, spreadsheet, or form, open the file and select Tools > Script editor.
To create or open scripts bound to a Google Site, open the site and select More > Manage Site > Apps Scripts.