google-slides-api

How to call a function via a link/button on a Google Slide?

一曲冷凌霜 提交于 2020-07-16 06:48:27
问题 I want to be able to send a formatted email by clicking a link/button on a Google Slide. An example scenario would be sending a feedback form to all staff after a meeting, with the link on the very last slide. I already have the code for the email in Google Script and it works perfectly fine when I run it (I also have an HTML file for the format), but I cannot find a way to run it via a link/button on a slide. I would rather not run it every time the slide is open, only when a special link

How to call a function via a link/button on a Google Slide?

旧巷老猫 提交于 2020-07-16 06:48:07
问题 I want to be able to send a formatted email by clicking a link/button on a Google Slide. An example scenario would be sending a feedback form to all staff after a meeting, with the link on the very last slide. I already have the code for the email in Google Script and it works perfectly fine when I run it (I also have an HTML file for the format), but I cannot find a way to run it via a link/button on a slide. I would rather not run it every time the slide is open, only when a special link

Can I get speaker notes from Google Slides by API?

[亡魂溺海] 提交于 2020-07-05 08:05:57
问题 I want to get speaker notes from Google Slides by API, but I could not find any fields for speaker notes. For reference: Method: presentations.pages.get What would be a good way to do this? 回答1: In the absence of the API, I wouldn't suggest this is a good way of doing it. In fact it is horrible . But here it is. If you absolutely had to do it. It is likely a bit flakey too. Steps are: Export the presentation, via the Drive API, as a PowerPoint .pptx file Unpack the file - it is a zip file

Can I get speaker notes from Google Slides by API?

ε祈祈猫儿з 提交于 2020-07-05 08:04:58
问题 I want to get speaker notes from Google Slides by API, but I could not find any fields for speaker notes. For reference: Method: presentations.pages.get What would be a good way to do this? 回答1: In the absence of the API, I wouldn't suggest this is a good way of doing it. In fact it is horrible . But here it is. If you absolutely had to do it. It is likely a bit flakey too. Steps are: Export the presentation, via the Drive API, as a PowerPoint .pptx file Unpack the file - it is a zip file

Save Google Slide as PDF using Google Apps Script

筅森魡賤 提交于 2020-06-26 05:03:51
问题 Is there a way to save a Google Slides as PDF file by using Google Apps Script? I could only find solutions for saving Google Docs and Sheets. 回答1: How about this sample script? When Google Docs (Spreadsheet, Document and Slide) is saved and/or downloaded using DriveApp.createFile() , the file format automatically becomes PDF. So we can use the following script. Sample script : var blob = DriveApp.getFileById("### Slide file ID ###").getBlob(); DriveApp.createFile(blob); Note : In this case,