user20000939
user20000939

Reputation: 21

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

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?

Upvotes: 0

Views: 198

Answers (2)

Eugene Astafiev
Eugene Astafiev

Reputation: 49455

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 .

Upvotes: 1

Rick Kirkham
Rick Kirkham

Reputation: 9784

PowerPoint add-ins do not work in Presentation mode.

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

Upvotes: -1

Related Questions