

PPTtoPDFNote('.\\Test.pptx', '.\Test_with_Note.pdf') To use it, PPTtoPDF ('.\\Test.pptx', '.\Test.pdf' ) Powerpoint = CreateObject('Powerpoint.Application')ĭeck = (inputFileName)ĭeck.SaveAs(outputFileName, constants.PpSaveAsPDF)ĭef PPTtoPDFNote(inputFileName, outputFileName, formatType = 32): Here is my solution from comtypes.client import CreateObject, Constantsĭef PPTtoPDF(inputFileName, outputFileName, formatType = 32):
#CONVERT PPTX TO PPT FOR MAC PDF#
I need a way to save PPTX file to PDF and PDF with notes. And I would recommend doing each type of format aside: first.
#CONVERT PPTX TO PPT FOR MAC HOW TO#
Also read: How to Convert Powerpoint Presentations to Videos.

Fortunately converting them to the Keynote format is a straightforward process. The try and except was for those documents I couldn't read and won't exit the code until the last document. Even if you’re a Keynote diehard, you might run into situations when you’re stuck with a PowerPoint file. Run the file in PowerPoint 2011 on your Mac. But the steps may be a little various for different PowerPoint versions. For the Notes, use File> Print, select Notes as the Layout then click the PDF button & select Save as PDF. Powerpoint = ("Powerpoint.Application")ĭeck = (in_file)ĭeck.SaveAs(os.path.join(root,f), ppttoPDF) # formatType = 32 for ppt to pdf How to Convert PowerPoint to PDF on Mac (within PowerPoint) Microsoft PowerPoint itself provides a way to convert PPTX to PDF or PPT to PDF on Mac directly. Depending on the content of the presentation file you may have to do some rearranging but you can try using File> Export as a PDF, then Open the PDF in Word, although that won't include the Notes. import osįor root, dirs, files in os.walk(r'your directory here'): I was working with this solution but I needed to search all.
