Skip to main content
Known Participant
April 15, 2014
Answered

Is it possible to call Distiller and Acrobat?

  • April 15, 2014
  • 1 reply
  • 622 views

Hey there again...

Following my question in http://forums.adobe.com/thread/1449735?tstart=0 , I need to use the 2 PSs I've made, convert them to PDF and concatenate both of them in a single PDF file.

What I need to know is:

  • do I need to go to Applescript to invoque Distiller and Acrobat?
  • Or is it possible in ExtensionScript to call Distiller and Acrobat to execute this?

If it is possible to do it in ExtensionScript how may it could be done?

Thanks again for the help!!

This topic has been closed for replies.
Correct answer Kasyan Servetsky

No, you can’t do this in ExtensionScript. The only version where you can communicate with Acrobat from InDesign directly via ExtensionScriptis is InDesign 5.0.3, Acrobat 8.0.0 (tested in Windows XP SP3). Here is an example.

But it is possible to trigger an Acrobat JS from AS. I guess you can print two ps-files to Distiller’s hot folder.

Another script may monitor the hot folder on a certain interval, say, every minute: this can be done in AS. When the PDFs in the “Out” folder are ready, the Acrobat JS merges them saving it to another folder and deleting the original PDFs.

1 reply

Kasyan Servetsky
Kasyan ServetskyCorrect answer
Legend
April 15, 2014

No, you can’t do this in ExtensionScript. The only version where you can communicate with Acrobat from InDesign directly via ExtensionScriptis is InDesign 5.0.3, Acrobat 8.0.0 (tested in Windows XP SP3). Here is an example.

But it is possible to trigger an Acrobat JS from AS. I guess you can print two ps-files to Distiller’s hot folder.

Another script may monitor the hot folder on a certain interval, say, every minute: this can be done in AS. When the PDFs in the “Out” folder are ready, the Acrobat JS merges them saving it to another folder and deleting the original PDFs.

Known Participant
April 16, 2014

Thanks...

I'll give it a try with the BridgeTalk way... if not... Applescript it will be!

Many thanks!!