tanaike

The Thinker

Exporting All Thumbnail Images Retrieved from Google Slides as Zip File using Google Apps Script

Gists This is a sample script for exporting all thumbnail images retrieved from Google Slides as a zip file using Google Apps Script. Sample script Before you use this script, please enable Slides API at Advanced Google services. Ref function myFunction() { const presentationId = "###"; // Please set Google Slides ID. const folderId = "###"; // Please set the folder ID. const outputFilename = "###"; // Please set the output filename.

Updated: Javascript library - ResumableUploadForGoogleDrive_js

ResumableUploadForGoogleDrive_js was updated to v2.0.0. v2.0.0 (November 15, 2021) New Class ResumableUploadToGoogleDrive2 was added. By this, the large file which is over the memory in the local PC can be uploaded by the resumable upload. Overview This is a Javascript library to achieve the resumable upload for Google Drive. Description When a file more than 5 MB is uploaded to Google Drive with Drive API, the resumable upload is required to be used.

Letting Users Running Google Apps Script on Google Spreadsheet without both Authorizing Scopes and Showing Script

Gists This is a sample workaround for letting users running Google Apps Script on Google Spreadsheet without both authorizing the scopes and showing the script. The flow of this workaround is as follows. Create Web Apps created by Google Apps Script and deploy it as Web Apps. As the returned value, the XML data is returned. Your script can be included in this script. User put a formula of =IMPORTML("WebApps URL", "xpath") to a cell.

Uploading Movie File on Google Drive to YouTube using Google Apps Script

Gists This is a sample script for uploading a movie file on Google Drive to YouTube using Google Apps Script. Before you use these scripts, please enable YouTube API at Advanced Google services. Ref Sample script 1 This sample script uses YouTube API at Advanced Google services. function myFunction() { const fileId = "###"; // Please set the file ID of movie file on the Google Drive. const res = YouTube.