2 Replies Latest reply on Jun 27, 2016 8:17 AM by Trevorׅ

    For pure performance should I use javascript or C# with COM to run my indesign scripts.


      Hi there,


      I am looking to make the creation of variable PDF / JPG files from an indesign template as quick as possible. Has anyone benchmarked the performance of using javascript (which I use now) vs C# with COM to run indesign scripts?


      The scripts I have now use data merge fields to create variable PDF / JPG files with an indesign template. The slow lines of the code are






      document.exportFile(ExportFormat.JPG, destination);


      if there are any other hints on how to speed this up I would appreciate it. For a seven page PDF with around twenty seven variable fields it is taking around 2 seconds to generate a single document.