Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

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

$
0
0

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

 

doc.dataMergeProperties.mergeRecords();

 

and

 

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.

 

Dustin


Viewing all articles
Browse latest Browse all 15932

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>