AppsScriptPulse

How To Connect Google Sheets To A Database, Using Apps Script

App Script comes with a JDBC Service that lets you connect to MySQL, Microsoft SQL Server, and Oracle databases.

This is a guest post from Mike Ritchie (on benlcollins.com), co-founder of Seekwell.io, which adds SQL to the apps you need it in.

Source: How To Connect Google Sheets To A Database, Using Apps Script

Automating Delivery Service for a Supermarket linked with Tuk-Drivers from a Finance Company with Minimum Effort

With Google App Scripts, SMS Gateway and CRM APIs we managed to come up with a solution that made a rewards awarding mechanism for the riders. Once a Rider completes a Delivery they are getting rewards and rewards are mapped through the Leads in CRM solution.

While no Apps Script code is included, it’s a useful usecase of how Apps Script is helping businesses deliver.

Source: Automating Delivery Service for a Supermarket linked with Tuk-Drivers from a Finance Company with Minimum Effort

How to Colorize Google Calendar Event Using Apps Script

Google Calendar provides a facility to create multiple calendars in order to keep different kind of events tidy. It also let’s us colorize them, but in the addition to that, you can also colorize different events in a single calendar!

Automatically colorize your calendar events using the power of Google Calendar and Google Apps Script platform.

Source: How to Colorize Google Calendar Event Using Apps Script (1/2)

Google Apps Script: Get Google Doc Text Based on Reference Characters – Yagisanatode

This simple tutorial should get you started with grabbing text from a Google Doc for other uses. You could certainly make a lot of changes to the code to introduce more search rules. Likewise, you could use regular expressions to search for some really cool stuff, but for a simple overview this should get you started.

This post provides a detailed how-to of getting a list of information from the document that you have noticed are between two sets of characters.

Source: Google Apps Script: Get Google Doc Text Based on Reference Characters – Yagisanatode

Everything a Google Apps Script Developer wanted to know about reading hyperlinks in Google Sheets … but was afraid to ask

The problem: hyperlinks in Google Sheets can be in three different formats so if you have a script or add-on that relies on handling links in cells it can cause some headaches.

This article covers a thorough walkthrough of using Advanced Sheets Service to read hyperlinks from cells with different link formats.

Source: Everything a Google Apps Script Developer wanted to know about reading hyperlinks in Google Sheets … but was afraid to ask

Using Google sheets to build a very simplistic Inventory Management solution for your small business.

Google sheets has Apps Script which extends its functionalities — allowing the automation of tasks, creation of UIs, webapps, add-ons, etc. This makes it a very powerful tool to create customized solutions for your needs.

A simple approach on dealing with complexities of managing inventory for small businesses using Spreadsheets and Google Apps Script.

Source: Using Google sheets to build a very simplistic Inventory Management solution for your small…

Make your own Dobble / Spot It game with Google Slides and Apps Script

Upload a few images to Google Drive, press a trigger to start a little Apps Script code and get your own Dobble game on Google Slides.

This tutorial will guide you into creating your own Dobble card deck with Google Slides, which you can easily print for use in your day to day life.

Source: Make your own Dobble / Spot It game with Google Slides and Apps Script

Google Apps Script Patterns: Writing rows of data to Google Sheets the V8 way

For some context for seasoned Google Apps Script developers like me until V8 we’ve been working in a bit of an old school JavaScript bubble. With V8 there is an opportunity to write less verbose and more succinct code. To see some of the differences below I’ve copied the Writing JSON data mapped to row headings example from my original post and updated this with a V8 version and will highlight the changes.

This post covers a range of techniques and includes a typical pattern for writing structured data like JSON responses from third party sources.

Source: Google Apps Script Patterns: Writing rows of data to Google Sheets the V8 way

How to Produce Quality Titles & Meta Descriptions Automatically

Here’s how you can produce quality titles and meta descriptions automatically in Google Sheets with minimal Python and JavaScript code.

A thoughtful implementation of custom functions in Spreadsheets using Google Apps Script.

Source: How to Produce Quality Titles & Meta Descriptions Automatically

Starting With Google Script

At the highest level, Google Apps Script (GScript for short), is a scripting platform for light-weight development across the entire Google Suite ecosystem. Each GSuite “app” (Sheets, Docs, Calendar, etc…) is referred to as a GScript service. Each service, such as the Google Sheets service we’ll strictly focus on throughout this article, is made up of multiple classes — each with the typical class structure of properties & methods.

You’re likely using Google Sheets already, so why not take a few minutes to learn how to customize & automate it to your particular needs? With Google Script, Google has made it extremely easy for anyone to extend Sheets.

Source: Starting With Google Script