Ren Denim
Ren Denim

Reputation: 23

Google Slides API activating script on click of element

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?

Upvotes: 2

Views: 2413

Answers (1)

Wicket
Wicket

Reputation: 38160

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.

Upvotes: 1

Related Questions