I have a task pane add-in for PowerPoint in mind that can help users with tasks on the active presentation. With Microsoft Office becoming more and more popular on platforms besides Windows using the JavaScript API would make a great portable implementation. There are a number of COM add-ins doing things like these via the PowerPoint object model:
After going through the JavaScript API documentation it seems like these things are impossible at the moment. getFileAsync
sounds remotely promising but does not help in the end. getSelectedDataAsync
only returns text or titles and IDs for slides. So this isn't a solution either.
Is it correct that for the tasks above I am currently out of luck with the available JavaScript API for PowerPoint? I.e. I will need to wait for a more comprehensive API to become available (like the APIs for Word and Excel)? Anyone knows if Microsoft has something in the works here?
A PowerPoint add-in can insert slides from one presentation into the current presentation by using PowerPoint's application-specific JavaScript library.
Without making major adjustments to your existing slides, you can create engaging and interactive PowerPoints that your audience will love. From hyperlinks to annotations there is a tip for every teacher to use to transform their presentation.
Simply write your code in an editor which supports copying code with formatting (e.g. as RTF), such as WordPad, Visual Studio, TextMate and Notepad++. You can then copy the code directly into Powerpoint, preserving the formatting and syntax highlighting.
Right now the Office extensibility team has been investing heavily in Excel and Word JavaScript APIs, the PPT API will also be available in the near future, but I cannot disclose any specific date. Stay tuned!!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With