1 person found this helpful
You should use the batch sequence just to collect the paths of the files
you want to merge. The rest should be done with a folder-level script that
you can execute from the console or from a menu item.
Thanks for the quick reply!
Do you have an example of this (or anything like it)? I've done lots of scripting with InDesign using InDesign server and ExtendScript Toolkit but this seems way different.
So you are saying that I'll need to only use batch processing to retrieve the list of files, and that list would be used in the script which merges the files? How would I get that list retured from the batch process into my script?
Thanks in advance.
You can use a global object to store the file paths that the batch
collected, and then access them in the script that merges the files.
This script, created by me, uses exactly this method to collect the paths
of two folders and then interleave (merge) the files in them to an output
Thanks for the reply. I was hoping to see an example, I don't want to pay for any scripts.
Are you getting paid to solve this problem?
I'm asking about this because of a task required by my job, so in a way, yes. Why?
Look in the Acrobat SDK at the JavaAScript Batch Processing documentation. There are 2 examples, listing the file name and number of pages and creating a csv file of file name and comments in the file.
You want free help to get paid for a job and do not want to pay back for it with money or help.