I was wondering if anyone can help with a script I created recently. It's a basic batch ISO page counter and does this taking into account the crops in the pdf. What I was wondering is whether I can reset my global variables after the batch has processed on the folder. I'm just wondering if it is possible to determine when the script ends, hopefully it shouldn't be neccessary for me to post any code. My global variables go something like:
If this isn't possible is there any other solution I can consider. What I've had to resort to with the script is closing acrobat completely after each run of the script, to reset my variables - not the most robust solution. Also I wonder if it is possible to determine if a page has been scanned black & white or in colour. I have looked at Acrobat documentation, but I haven't found what I'm looking for.
Thanks for any help given.
You can reset your global variables using a function associated with a menu
item. You can't do it from within the Batch itself.