Google Apps Script

Managing Projects

  1. Creating and deleting projects
    1. Creating a project from Google Drive
    2. Creating a project from Google Sites
    3. Creating a project from Google Docs, Sheets, or Forms
    4. Creating a project from the script editor
    5. Deleting a container-bound project
    6. Deleting a standalone project
  2. Managing files in a project
    1. Creating a file
    2. Deleting a file

Creating and deleting projects

This will teach you how to create a standalone project from Google Drive and how to create a container-bound project for each of the supported containers.

Creating a project from Google Drive

The first time you want to create a script from Drive, follow these steps:

  1. Open Google Drive.
  2. Click Create.
  3. Click Connect more apps.
  4. When the "Connect apps to Drive" window appears, type "script" into the search box and press the Enter key.
  5. Click Connect next to the listing for Google Apps Script.
  6. Click OK in the confirmation window.

Now that you've connected the app, you can create a script by following just these steps:

  1. Open Google Drive.
  2. Click Create.
  3. Select Script.
  4. Select File > Save.
  5. Enter the name of your project and click OK to save it.

Creating a project from Google Sites

  1. Open a Google Site.
  2. Click More and select Manage Site.
  3. Click Apps Scripts in the left-hand navigation panel.
  4. Click Add new script.
  5. Select File > Save.
  6. Enter the name of your project and click OK to save the project.

Creating a project from Google Docs, Sheets, or Forms

  1. Open Google Docs, Sheets, or Forms.
  2. Select Tools > Script editor.
  3. Select File > Save.
  4. Enter the name of your project and click OK to save the project.

Creating a project from the script editor

  1. Select File > New > Project.
  2. Select File > Save.
  3. Enter the name of your project and click OK to save the project.

Deleting a container-bound project

  1. Open your container-bound project using the appropriate method above.
  2. Select File > Delete.
  3. Click Yes to delete the project.

Deleting a standalone project

  1. Check the checkbox next to your project's name.
  2. Select More > Move to trash.

Managing files in a project

Creating a file

  1. Select File > New > Script file.
  2. Enter the name of the new file and click OK to create it.

Deleting a file

  1. Click the arrow next to the file name in the left-hand panel.
  2. Select Delete...
  3. Click Yes to delete the file.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.