Back to Browse

Developing Google Docs Addons using Google Apps Script API: 01. Modifying and Replacing Text

6.1K views
Jun 21, 2019
7:45

--- Author's Note: --- There isn't any good video tutorials for the Google Docs API so after learning Google Apps Script for Docs and going through the references I finally learned, and I won't keep this knowledge to myself. I actually had this done from a month or so now, I don't know why I procrastinated to post it. Maybe I was waiting for the perfect time, but there is no perfect time and it's the start of summer. So here you go! Also this is to learn the Google Docs API. This is a very small exercise. Eventually once you get a grip you can explore more in the Google Docs references and get a better idea of how the API works. This isn't the only video I'm releasing on the Google Docs API by the way. :) --- --- All the source code is here. I may put it on a website or something in the future. https://script.google.com/d/1n5WXtU2bKbwH6M4LFnfIq6J-OEZF_SnyY-Zu_ZegCvjh77NAP17X6z6a/edit?usp=sharing If you don't know HTML and JS you need to learn that before you dive into making a google docs addon. I learned by Khan Academy. https://www.khanacademy.org/computing/computer-programming The stupid yet cool idea to show how to use the API to replace "cat" with "dog" was from a Khan Academy tutorial. https://www.khanacademy.org/computing/computer-programming/html-css-js/html-js-dom-access/pt/finding-elements-by-id All the 8bit music awesomeness in the background is by AdhesiveWombat. I used 8 Bit Adventure and Bombs. https://www.youtube.com/channel/UCps63j3krzAG4OyXeEyuhFw And check out my website. https://skyriftstudios.tk/ https://skyansam.github.io/ When in doubt always check the references (even if they're hard to read) https://developers.google.com/apps-script/reference/document/ And check out the Google Apps Script discord. They're mostly for Google Sheets but they can help. https://discord.gg/3fd7EbB Thats it folks. Next video I'll talk about creating your document.

Download

0 formats

No download links available.

Developing Google Docs Addons using Google Apps Script API: 01. Modifying and Replacing Text | NatokHD