From the course: Google Apps Script for JavaScript Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introduction to Apps Script

Introduction to Apps Script - Google Docs Tutorial

From the course: Google Apps Script for JavaScript Developers

Start my 1-month free trial

Introduction to Apps Script

- [Instructor] Let's take a look at writing and debugging code inside of the Google App Script IDE. Whenever we want to run our script, we will need to select the default function. As you can see, since our project only contains one function called myFunction, it is automatically selected from the dropdown menu. We can hit Run in order to start our script. If this is your first time running a script and have not saved it, you'll be prompted to save it before you can execute any of the code. Let's give this project a new name. We're going to call our project Convert2Markdown and all of the code we need in order to take a Google Doc and turn it into a Markdown file will exist within this project. Once our project is saved, we can run it and myFunction will get called. Now since we don't have any code, nothing actually happened. Let's go ahead and create a new variable and we'll call this test and we're going to set its value to Hello World. Now one of the limitations of using this…

Contents