Create alert box that only pops up on the first document in a batch
Hi,
I would like to create an alert box that will only come up on the first document in a batch. I have the pop-up as a Javascript that runs as part of a longer action that also includes preset Adobe actions (such as "Remove Hidden Data").
Right now I have something like this:
app.alert("Did you create a copy in a pre-cleaned folder?", 1);
The action then goes on to do a couple of other things from the pre-set actions in Adobe (removing hidden information, setting the initial view, and saving the document) before going on to the next document in the batch of files to be processed. However, when I include the javascript as part of my larger action, the alert box pops up with every document in the batch that is being processed. Is there a way to make it pop up only on the first document but not on subsequent documents?
Thank you!
