Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a page that's repeated hundreds of times throughout a several thousand page PDF. I need to make a change to that page, and I want the change reflected throughout the document.

I've done some similar jobs with Javascript in Acrobat before, but I'm having trouble identifying the relevant pages.

How can I automatically recognise and swap out this certain page, throughout the document?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I managed to do it by using this.getPageNumWords(page) to work out how many words were on the common page. This number just happened to be unique, so provided an easy way to work out which pages to switch out when looping over.

For further useful methods, check out the Javascript API reference.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.