end of batch file
From the DC SDK Documentation to find the end of a batch file you have to use the PDF count:
if (global.counter == global.FileCnt) { console.println("End of Job...");
delete global.counter;
delete global.FileCnt; }
This relies on the user to first run the global.FileCnt Action than run the main batch file for doc processing (which cnts the global.counter).
How can I find the end of a batch file if all I had was one Batch file?
The other method is just not intuitive.
