Is it possible to detect when a user is moving to next/previous slide in presenting mode in Office PowerPoint API?

Viewed 36

I’m using the PowerPoint API v1.4 to build a custom add-in for PowerPoint. Problem is that I haven’t found a way to detect when a user moves forward or backward between the slides while in presenting mode.

E.g. an event to listen to that would be something like willMoveToNextSlide/didMoveToNextSlide (and same with previous), or an event that tells me slideDidChange/Move, returning the index of the new slide, or something like that.

Just something to tell me that the user moved in either direction away from the current slide in presenting mode.

Is there a well hidden solution to this?

2 Answers

As Rick already mentioned, OfficeJS doesn't provide anything for that.

Feature requests on Tech Community are considered, when the dev team go through the planning process. Use the github label: Type: product feature request at https://aka.ms/M365dev-suggestions .

PowerPoint add-ins do not work in Presentation mode.

If you can implement your scenario in editing mode, consider handling the selection changed event.

Related