Question
Indesign Script JSX DataMerge ExtendScript
I have 20 records.
I have these functions:
exportJPEGs();
exportPDFSpreads();
exportPDFInterior();
I want to iterate through every record while in preview. Then do these exports
There is not such thing as
for (var i = 0; i <= 10; i++) {
myDocument.dataMergeProperties.currentRecord = i;
exportJPEGs();
exportPDFSpreads();
exportPDFInterior();
Or is there a currentRecord something
