Skip to main content
Inspiring
June 27, 2019
Question

Script to export PDF file into Powerpoint format

  • June 27, 2019
  • 6 replies
  • 3621 views

Hello guys,

I want to export PDF file into powerpoint. I know this is possible manually using the Export option from File. There must be a way to do it via javascript as well. I need some documentation that can help in the scripting of PDF using documentation. I would like to try first myself but the documentation link is needed.

Thanks

Charu

This topic has been closed for replies.

6 replies

Legend
June 28, 2019

I know what you’re saying. No, you can’t automate Acrobat from an Indesign script.

Inspiring
June 28, 2019

This is what I am doing

app.beginPriv();

app.doc.saveAs('/Users/mds/Desktop/test.png','com.adobe.acrobat.png');

app.endPriv();

in console and clicking cmd+enter. It starts executed but file in png format is not created created.

BarlaeDC
Community Expert
Community Expert
June 28, 2019

HI,

If you have a function key, it might be that key and Enter key.

Regards

Malcolm

Legend
June 28, 2019

What Mac model?

Inspiring
June 28, 2019

Please see attached screenshot.

Legend
June 28, 2019

You must press the Enter key on the numeric key pad (not regular Enter key) to execute. Just typing it only fills up lines.

Inspiring
June 28, 2019

I am on a mac, and just have a single Enter key

Bernd Alheit
Community Expert
Community Expert
June 28, 2019

Try cmd+enter

Bernd Alheit
Community Expert
Community Expert
June 27, 2019
Inspiring
June 27, 2019

Thanks, I got this and trying

doc.saveAs('~/Desktop','com.adobe.acrobat.pptx ');

but nothing happens, maybe I am not able to debug. I usually use Extended toolkit to debug other Adobe applications. This is the first time I am using scripting for PDF. Please help

Bernd Alheit
Community Expert
Community Expert
June 27, 2019

The file path must a device-independent path.