Loading...
Loading...
Automates Microsoft PowerPoint via JXA with AppleScript dictionary discovery. Use when asked to "automate PowerPoint presentations", "create slides programmatically", "JXA PowerPoint scripting", or "export PowerPoint to PDF". Covers presentations, slides, shapes, text, tables, export enums, and interop with Excel.
npx skill4agent add spillwavesolutions/automating-mac-apps-plugin automating-powerpointautomating-mac-appsautomating-mac-appsconst powerpoint = Application('Microsoft PowerPoint');
const doc = powerpoint.documents[0] || powerpoint.documents.add();
const slide = doc.slides.add({index: 1, layout: powerpoint.slideLayouts['ppLayoutTitle']});
slide.shapes[0].textFrame.textRange.content = 'My Presentation';
doc.save({in: Path('/Users/username/Desktop/presentation.pptx')});automating-powerpoint/references/powerpoint-basics.mdautomating-powerpoint/references/powerpoint-recipes.mdautomating-powerpoint/references/powerpoint-advanced.mdautomating-powerpoint/references/powerpoint-dictionary.mdautomating-powerpoint/references/powerpoint-charts.mdautomating-powerpoint/references/powerpoint-export-video.mdautomating-powerpoint/references/powerpoint-chart-copy.mdautomating-powerpoint/references/powerpoint-layouts.mdautomating-powerpoint/references/powerpoint-export-video-steps.mdautomating-powerpoint/references/powerpoint-deck-generator.mdautomating-powerpoint/references/powerpoint-chart-aware-deck.md