Profile cover photo
Profile photo
Jordan Rhea
84 followers -
English teacher
English teacher

84 followers
About
Jordan's interests
View all
Jordan's posts

Post has attachment
I was trying to learn more about Sass and animation stylings, and I came up with something that may be useful for anyone building an add-on. I would love input, and help testing it. It is just a simple project generator to help you skip the first 10 minutes of writing boilerplate code.

bit.ly/addonbuilder

Let me know what you think!

Can anyone give me an example of how to use ContentService to return a text document to the client side?

In my "code.gs" I have a simple function:
function downloadSRT(srt) {
return ContentService.createTextOutput(srt).downloadAsFile('temp.txt').setMimeType(ContentService.MimeType.TEXT);
}

In my client side code though, it tells me that "The script completed but the returned value is not a supported return type."

How can I make it download the text file to the user?
Wait while more posts are being loaded