To start building scripts, you should begin by creating a new folder for them in your Google Drive. Like all Google Docs, Scripts live in your Drive. Click the button (if you don’t see the New button, click and then “Experience the New Drive”).
After you click New, hover over More, and see if Scripts have been added to your Apps list. If you don’t see Scripts there, click Connect More Apps
Type “script” in the search box, and then click for Google Apps Script.
Now when you click you will see an option under More for Google Apps Script. Click it and you will see the splash screen, as below.
Click “Blank Project”
Now you will see an Untitled Project, with the beginnings of a function in it called “myFunction”.
Inside of the braces, type Logger.log(“Hello, world!”); It should look like this:
Now, above the function, type
Insert comment here
This is probably the simplest Google Scripts program you will ever see. There are three elements to it:
Try changing the message in the Logger, or adding a new line to the Logger and see what happens. Be sure to update the comment and let everyone know this is your first Google Script!