Google Slides API activating script on click of element

…衆ロ難τιáo~ 提交于 2019-12-11 02:17:56

问题


I am trying to create a branching scenario using google slides, the idea is that someone viewing the presentation can click on the buttons and see the outcome of their selections.

The first few slides it's easy, it's a 1 to 1 so I can just use the "link" feature in slides.

The tricky part is once you progress to slide 3. I want the slide they are directed to by clicking on the "course of action" options to be based on all the currently selected options.

So here is where I'm stuck - I need to figure out how to have an interaction (click) with the slide in presentation mode trigger a script.

Any suggestions on how to accomplish this in Google Slides?


回答1:


At this time the Slides Service for Google Apps Script and the Google Slides REST API don't include a way to call a script on a click of an element. This feature is only included on Google Sheets (Clickable images and drawings in Google Sheets)

NOTE: The Google's official documentation very rarely includes a page about missing features. It could be possible that someone already submitted a feature request through the official Issue Tracker. If so, you could star that issue to get notifications about changes on it. Another place to monitor is the G Suite Developers Blog and the Google Apps Script release notes.



来源:https://stackoverflow.com/questions/47919495/google-slides-api-activating-script-on-click-of-element

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!