79677592

Date: 2025-06-24 12:48:04
Score: 1
Natty:
Report link

You can do this via python an its win32com.client. This loop will print out all text from all slides of Test.pptx.

import win32com.client

ppt_dir = r'C:\Users\Documents\Test.pptx'
ppt_app = win32com.client.GetObject(ppt_dir)

for ppt_slide in ppt_app.Slides:
    for comment in ppt_slide.Comments:
        for shape in ppt_slide.shapes:
            print(shape.TextFrame.TextRange)

Content of Test.pptx

Result: This is a test

Take this as a starting point, depending on what you want to do with the extracted text.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez