The flexibility of using Google’s product on any website is getting increased day by day. In such cases, Google Apps Script plays an important role because it allows integrating the various features of Gmail, YouTube, Google Drive, Google Maps and APIs of Google. The script does not need any new programming language and server space because it runs at the cloud storage.
Let’s Start with the Google Apps Script Starter
Here the developer will be required to initiate ‘Starter kit’ in order to get started rapidly with the process of development of local Apps Script development which will get created at the local site of the system in VS Code.
Here’s Hello World Program in Google Apps Script
Let’s write our first very basic “Hello World” program with Google Apps Script.
Just follow the steps:
- Go to the script.google.com.
- Click on blank project.
- Select script editor from menu tools.
After selecting you will see Google Apps Script editor window Like,
You will see default Google script file named “code.gs” and default code.
Now in the code window write following code for our “Hello World” program.
Now run the mentioned code in the terminal. You will see the authorization window for security purpose.
Click on continue for running app and give permission “Allow” to interact with your documents.
SEE ALSO: Most Useful Coding Tools for Developers