Google Apps Script Complete Course New IDE 100+ Examples

The Google Apps Script New Version 2021 lets you create custom functions within Google Drive, Docs, Sheets, GMail, and Calendar.



New IDE – More functions – Exciting new Google Apps Script Complete Course New IDE 100+ Examples Course!!!!

This rapid application development platform lets developers quickly and easily build Google Workspace-enabled business applications.

  • Code is in modern JavaScript
  • Access to built in libraries that can really power up your Google Workspace App
  • Connect Google Workspace applications like Gmail, Calendar, Drive, and more.
  • Interact with other Google services Calendar, Drive, Gmail, and Maps.
  • Nothing to install – code editor right in your browser
  • Your scripts run on Google’s servers
  • Extending Google Workspace with Add-ons
  • Rapid application development platform based on JavaScript that lets you create business and productivity applications quickly and easily.

Contains Google Apps Script Code Examples – Hundreds of code snippets to do amazing things with Google G Suite – Sample projects to build advanced functionality using Google Apps – Google Services

  • Add custom menus, dialogs, and sidebars to Google Docs, Sheets, and Forms.
  • Publish web apps — either standalone or embedded in Google Sites.
  • Create customized user interfaces that are directly integrated into Google Workspace applications.
  • Boost workflow efficiency when working with Google Workspace by automating or streamlining tasks
  • Connect to non-Google services within Google Workspace applications, allowing you to retrieve or upload data from those services into and from Google Workspace

Streamline your productivity by connecting Google services together to DO EVEN MORE!!! | Discover what you can do with your G Suite apps – Create richer, more powerful apps with G Suite apps – Easily extend G Suite apps… Now with a new editor made easy to use, JavaScript ES6+ offers greater power and makes coding much easier.

If you’ve never used Google Apps Script then you have to try this as it works as you expect and need. It’s my favorite coding language by far – if you haven’t tried it before then you must. Having applications script as a basis for writing code will change everything.

Services provided by Google Workspace include Drive, Gmail, Calendar, Docs, Sheets, and others that lets you access the data in Google Workspace products. These services exist separately from the APIs created for those products; generally, Workspace services are easier to use than Workspace APIs, but they are only optimized for the most common usage cases.

We will teach you about Google Apps Script by a certified Google Developer Expert, a professional with over 20 years of coding experience, ready to guide you through the process.

Introduction to Getting Started with Google Apps Script

  • Standalone vs Bound Scripts
  • Script editor and Apps Script Dashboard
  • Writing Code creating Apps Script create a Doc with Script
  • What’s New with Apps Script Editor
  • Creating and Deploying a Webapp doGet() – HTML output in WebApp URL
  • Deployment of webapp Dev version and Exec Version.

Google Apps Script Sheets Spreadsheet Service Class SpreadsheetApp

This service allows scripts to create, access, and modify Google Sheets files. Access and create Google Sheets files.

  • How Macros work – generating Google Apps Script with Macro Recordings in Sheets
  • SpreadsheetApp Class – Selecting Spreadsheet to manipulate with Code
  • SpreadsheetApp methods SpreadsheetApp.getActiveSpreadsheet()
  • Selecting Sheets within a Spreadsheet – Spreadsheet object methods – Get data and contents of a Sheet into an array. sheet.getDataRange() data.getValues() sheet.getName()
  • Standalone script selecting a sheet by URL or ID. List sheets – update sheet names sheet.setName();
  • Create New Sheets on the fly with Apps Script – insertSheet()
  • Sheet ranges – updating the background colors of cells, selecting cells and ranges of cells. getRange() getRange(a1Notation) A1Notation the default method used for creating (and displaying) cell references to other cells. All cell addresses in A1 notation consist of a column letter and a row number
  • Get range by numeric row and column values. sheet.getRange(rows,cols) range.setBackground(backColor) , range.setFontColor(‘white’), range.setFontSize(mySize+cols), range.setValue(total); getRange(row, column)
  • MultiDimension arrays for content rows within the sheet. Get the range update content getRange(row, column, numRows, numColumns) getRange(row, column, numRows)
  • Debugging and Dashboard settings
  • Sheet object common methods – getLastColumn() getLastRow()
  • Get Selection getSelection()
  • Mini App – Copy Sheet Data to other part of Sheet
  • Get all the Data range from Sheet object sheet.getDataRange(); Returns a Range corresponding to the dimensions in which data is present.
  • Dialogs and custom UI buttons – UI Menu within Sheets
  • Append Row – add new rows – Add row on top appendRow(rowContents)
  • Insert insertRows(rowIndex)
  • Cell Formulas – spreadsheet.getRange().activate() .setFormula()
  • Custom Functions using the custom function Using a custom function – Is Email mini App
  • Mini App – Copy Sheet to another new sheet
  • Adding Notes to Cells
  • Coding App MiniProject Challenge – Create a Custom Logger into a Sheet – track messages into log
  • Coding App MiniProject Challenge – Create a custom Prepend Function Prepend Row Exercise
Trending Now:   PHP OOP: Object Oriented Programming for beginners + Project

Google Apps Script Docs Document Service Class DocumentApp

By using this service, scripts can create, access, and modify documents in Google Docs. Documents can be edited through the Document service, which creates and opens them.

Bound Script getActiveDocument()

  • Select and add Content to Body getBody() appendParagraph() appendPageBreak()
  • StandAlone Script DocumentApp.openById()
  • Add Body Content appendHorizontalRule()
  • Create a Doc using Script DocumentApp.create()
  • Get Doc properties add to itself within the new Doc
  • Set Name Get Editors and Get URL
  • Select Text getText()
  • Use JavaScript Loop to generate rows of content
  • Translate selected Content to Spanish LanguageApp.translate()
  • body.getParagraphs() select and update text within Paragraphs
  • DocumentApp Types and setting of DocumentApp.TextAlignment
  • Body Get Children getChild() .setFontSize() .getNumChildren() with loop to iterate body children element containers
  • Style Attributes DocumentApp.Attribute
  • Replace text body.replaceText()
  • el.setAttributes(); using attribute object values and properties
  • Clear body content
  • Add list items
  • Add Tables data types
  • DocumentApp UI prompt and alert
  • Active User Session.getActiveUser()
  • UI DocumentApp showModalDialog() HTML output HTML from File
  • Cursor position getCursor()
  • editAsText() set part of text as bold
  • Selected Text toUpperCase() getActiveDocument().getSelection()
  • Adding Bookmarks with Code addBookmark()
  • Insert Image into Document
  • ReplaceText Exercise
  • Exercise Sheet data to Doc Table
  • Coding App MiniProject Challenge – Add Text within the doc press menu button
  • Coding App MiniProject Challenge – Find and highlight text from Doc Content
  • Coding App MiniProject Challenge – Insert Images in Doc content Insert Images

Google Apps Script Drive Service Class DriveApp

This service allows scripts to create, find, and modify files and folders in Google Drive.

Selecting files log all the file names from the drive

  • Introduction to Apps Script DriveApp Service getFiles
  • How to Get Files in specific Folder using DriveApp Service
  • Create a File HTML file make files within your gDrive apps script DriveApp Create a File
  • Drive details get storage Get info and gdrive folder Drive Details
  • Classes File Class
  • Trash files move to trash Send Files to Trash with Google Apps Script
  • File permissions set File Access Permissions with Google Apps Script
  • Class FileIterator
  • Folders Class Folder
  • Set permissions and remove permission on Folder
  • Get details of Folder Class FolderIterator
  • User Object
  • Coding App MiniProject Challenge – create an app to list folder details into Sheet
  • Coding App MiniProject Move File from one folder to another
  • Coding App MiniProject Search files return file object
  • Coding App MiniProject Add and Remove Editors
  • Coding App MiniProject Webapp folder urls in webapp from Search

Google Apps Script Gmail Service Class GmailApp

This Service lets you send email, compose drafts, manage labels, mark messages and threads, and conduct a variety of other Gmail account management tasks. See also Mail Service, a simpler service that only allows the sending of email.

Mail Service vs GmailApp Service sendEmail(recipient, subject, body) This service allows scripts to send email on a user’s behalf. Unlike Gmail Service, Mail Service’s sole purpose is sending email; it cannot access a user’s Gmail account. This service allows users to send emails with complete control over the content of the email. Sending an email in Mail Service sendEmail(recipient, subject, body, options) getRemainingDailyQuota() Sending an email in Mail Service sendEmail

  • Sending an email in GmailApp Service sendEmail(recipient, subject, body) sendEmail(recipient, subject, body, options) How to send emails – Sending Emails with Apps Script
  • Create a draft email createDraft(recipient, subject, body, options) Drafts email in GmailApp Service
  • getMessage() method in emails Threads within Gmail using GmailApp Service Inbox Threads.
  • Sending an email from HTML template file
  • Coding App MiniProject Use Doc as Email template
  • Replace of content in email use it as a template
  • Coding App MiniProject how to use Spreadsheet data list to Send Emails
  • HTML Body
  • Coding App MiniProject Challenge send bulk emails from list in Sheets
  • GmailApp Chat threads
  • Making a draft email
  • Mark message as read markMessageRead(message) Marks this message read and forces the message to refresh.
  • Add a Star to Message starMessage(message) getStarredThreads(start, max) Retrieves a range of starred threads irrespective of labels.
  • Get user labels apply labels getUserLabels() Retrieves a list of user-created labels.
  • moveMessageToTrash(message) Message object
  • Search for message contents search(query, start, max) Search Gmail with the given query.
  • Coding App MiniProject Class GmailAttachment – send and create attachments – Get attachments GmailApp Attachment Class
  • access Chat Threads GmailApp class using Apps Script
  • find messages – apps script GmailApp Search.
Trending Now:   Easy to Advanced Data Structures

Google Apps Script Calendar Service Class CalendarApp

A script can use this service to manipulate the user’s Google Calendar, in addition to any additional subscription calendars. This function allows a script to read and update a user’s Google Calendar. This class provides direct access to the user’s default calendar, as well as the ability to retrieve additional calendars owned or subscribed to by the user.

CalendarApp add location to info Class Calendar

  • Get Events with options
  • Full day events within the calendar
  • Add events with series
  • Selecting Calendars using CalendarApp Class Code example
  • Delete create and hide calendar
  • How to update Google Calendar Name add Description
  • Update calendar color , description and name
  • Select and Update Calendar Events CalendarApp Event Class Examples
  • Create Events
  • Project – Challenge – Spreadsheet Calendar Lister – CalendarApp and SpreadsheetApp Project
  • Calendar Event Guest
  • Calendar Event Class using Google Apps Script
  • Get Guest details – update guests add and remove guest class
  • EventGuest updates Represents a guest of an event.
  • EventRecurrence class set the recurrence settings for an event series.
  • GuestStatus get guest statuses a guest can have for an event.
  • Update RecurrenceRule which represents a recurrence rule for an event series.
  • Coding App MiniProject Spreadsheet Calendar Lister – CalendarApp and SpreadsheetApp Project
  • create Events CalendarApp within Google Calendar with Apps Script

Google Apps Script Slides Service Class SlidesApp

Google Slides scripts can create, access, and modify these files with this service. A description of the Slides service and the documentation for it.

  • Create a Slide – open by slide id
  • How to use Slides Service Class SlidesApp with Google Apps Script
  • Slides Bound Script Updates select slides within Google Slides and get Slides Update them
  • Slides UI Add a custom menu to the active presentation, including a separator and a sub-menu
  • A slide in a presentation. Class Slide
  • Coding App MiniProject remove a slide from Google Slides presentation Remove Slide Button
  • add custom menu options for Slides Users SlideApp UI Menu
  • Presentation Class – appendSlide add Editor set Slide Background
  • Update textStyle Background Color Get TextRanges Get Page Elements Get Slides
  • Add UI menu button to duplicate Slide from Current Selection Code Example
  • Insert Drive Images with UI button Delete and remove selected Slides
  • List layouts Update Master Find text in shapes and remove shapes Source Code
  • Coding App MiniProject Create a Presentation from Sheets Generate Slides from Sheet data – Project
Trending Now:   Design Patterns in JavaScript

Google Apps Script Forms Service Class FormApp

In this service, scripts can manipulate Google Forms and create, access, and modify them. Provides the ability for a script to start a new Form or open an existing one.

  • Create a form create a form with Apps Script Forms Service Create a Form
  • Add Items to a form grid items, multiple choice and date items
  • Get Form items update
  • Update existing form items with new values make required
  • Add items to Form using Google Apps Script to Google Form using FormApp
  • setup Feedback within Google Form Feedback Within Form
  • FormApp Class FormResponse
  • Setting form to quiz
  • Adding Form Feedback
  • Setting Form to Quiz updating adding Feedback to form choices
  • Coding App MiniProject FormResponses into Sheet Project Get form responses add to spreadsheet Project
  • Coding App MiniProject send Google Form Responses list them within a Google Sheet FormResponse
  • Coding App MiniProject How to Create a Math Quiz in Google Forms Apps Script Quiz Generator Project
  • Set Progressbar shuffle questions add Scale Item Examples

Google Apps Script Google Workspace services

There is more ease of use in Google Workspace services than the Google Workspace APIs, but they are optimized for only the most common use cases. Here are some examples of common Google Apps Script Services

  • Class ContactsApp within Google Services Apps Script
  • use LanguageApp Service within Google Apps Script
  • generate Maps using Maps Service within Google Apps Script
  • Google Apps Script Base Services Examples of Code
  • Coding Example using Content Service with Apps Script
  • Coding Example HTML Service within Google Apps Script
  • Send data from client side back to Google Apps Script Class google script host
  • Google WebApp Client Side data scriptlets services Host services Google
  • Store values within Google Apps Script Class PropertiesService User Doc or script
  • Create a request to http endpoint API using UrlFetchApp Class

Google Apps Script Common Services Mini Apps and Useful Coding Examples

A set of examples for applying Google Apps Script in G Suite services to create additional functionality

  • Coding App MiniProject Create Charts in Google Spreadsheets setup Sheets
  • Coding App MiniProject add Charts to Slides Create Slides Presentation
  • Coding App MiniProject Create PDF in Drive email as Attachment Slides as PDF in Drive.
  • Coding App MiniProject  – Docs UI menu Interactive
  • Coding App MiniProject – Sheets UI menu button for advanced interaction
  • Getting to know Sheets Simple Triggers on Edit and Change run some code
  • Create a webapp onGet onPost Simple triggers with Apps Script
  • Automation setup Triggers run code on events and regular time intervals

Creating a multi page webapp with apps script

Interactive Document custom functions Introduction Document UI File Docs Interactive Project

Custom webapp Quiz Setup from sheets using a web app

Find out how to deploy your apps script project as an Add-On Extending Google Workspace. Google Workspace add-ons are customized applications that integrate with Google Workspace productivity apps, such as Gmail, Google Sheets, and Google Docs.

Taught by a Google Developer Expert instructor with over 20 years of web dev experience ready to help you learn more about Google Apps Script

Who this course is for:

  • Anyone who wants to create amazing things using Google Scripts
  • JavaScript developers who want to empower Google suite of products
  • Web developers who want to incorporate Google Script functionality
  • Application developers who want to access the power of Google G Suite
  • App Script Google Script developers

Created by Laurence Svekis
Last updated 4/2021
Size: 8.8 GB

Download Course

Leave a Reply

Your email address will not be published.

Related Courses

Back to top button


Join our telegram channel and be the first to know when we post/update courses and also when we share awesome deals & freebies.