OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
670 stars 96 forks source link

Read/write to powerpoint speaker notes #3269

Open regisin opened 1 year ago

regisin commented 1 year ago

There is currently no way to access the speaker notes from the office api in a taskpane. I'm not sure how else to phrase it, but that's my feature request, to be able to read and write to the notes of a slide in powerpoint.

mscc-sascha commented 1 year ago

Is there any update on this? I would like to have the ability to select / write speaker notes as well using OfficeJS, this is currently blocking us from integrating a feature in our software.

@regisin Not really convenient, but there is the option of getting the speaker notes by parsing the PowerPoint OOXML file. You can get the OOXML file by following this approach. Depending on your use case, there might be a performance issue. For further details, please see my request on GitHub.

gissellecornejo commented 1 year ago

I'd like to see this feature added too. I need to Read/Write presenter notes using Office.js API

bobfischer commented 11 months ago

In the past I've used PowerPoint to drive a video switcher. For example, I might want to be a small talking head in the corner, then show a slide without me in it, then have a slide half and half with me on one side, content on the other.

I've put video directives in the notes on a slide.

I can do this with VBA, but that is old and hard to work with, and sufficiently sandboxed on the Mac that I have to go indirectly through AppleScript to make it work, then use AppleScript to call a shell script to call curl to get to my endpoint. Really painful.

Ideally I'd be able to have a Node program interrogating a running slide show, pulling the notes from each slide to drive the video magic behind the scene. The alternative would be to call a URL on every slide change with data from notes.