Here’s a sample OfficeScript that demonstrates how to create a PowerPoint presentation, add shapes, and add text to the slides: function createPowerPoint() { // Create a PowerPoint presentation var presentation = context.presentation.create(); // Add a slide to the presentation var slide = presentation.slides.add(); // Add…