Download - Introduction to Google Apps Script
![Page 1: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/1.jpg)
Introduction to Google Apps Script
Kartik Kannapur
![Page 2: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/2.jpg)
What is Google Apps Script ?Google Apps Script is a JavaScript based cloud scripting language that provides easy ways to automate tasks across Google Products & third party services.
➢ Editor in the Browser
➢ JavaScript Runtime in the Cloud
➢ Don’t hate, Automate !
![Page 3: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/3.jpg)
What can you do with Apps Script ?Google Services :
Google Apps : Calendar, Contacts, Document, Drive, Forms, Gmail, Maps
Advanced Google Services : AdSense, Analytics, BigQuery, URL Shortener, YouTube
Script Services : Base, Cache, Charts, ScriptDB, Url Fetch
![Page 4: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/4.jpg)
Getting Started ...➢ Standalone Scripts :
https://script.google.comGoogle Drive > Create > Script
➢ Container-bound Scripts :
Google Docs, Sheets, Forms Tools > Script Editor
SitesMore > Manage Site > Apps Scripts
![Page 5: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/5.jpg)
Our First Script
Intro to Script Editor + Demo : Hello World
![Page 6: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/6.jpg)
Triggers Trigger is a script resource that listens for a particular event & executes a particular function when the event occurs.
It allows asynchronous execution of scripts - Automation.
Types of Events: ➢ Clock tick events➢ Spreadsheet Open / Edit events➢ Form Open / Submit events➢ Document Open Events
![Page 7: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/7.jpg)
Let’s take it up a notch ...
Demo : Today’s Agenda
![Page 8: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/8.jpg)
Quotas for Google ServicesApps Script services impose daily quotas.
If you exceed your quota or limitation, the script will throw an exception and terminate execution.
![Page 9: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/9.jpg)
Use CaseGmail Meter - Crunches Data About Your Email Use
![Page 10: Introduction to Google Apps Script](https://reader036.vdocument.in/reader036/viewer/2022082420/54bf75b64a7959a9278b45d5/html5/thumbnails/10.jpg)
Resources➢ Google Apps Script Documentation
https://developers.google.com/apps-script/
➢ Google Developer Live ChannelGoogle Apps Unscripted
➢ Google Apps Script - Google+ Community
➢ Google Apps Developer Blog
➢ Stack Overflow