Paul;
Can we look at this problem from a different view? I'm not sure that "Page 1 of ?" really represents text or strings in your document.
Aren't they really dynamic underlying code fragments which are constantly responding to changes the User makes in the total number of pages and which page has the focus?
It would seem that any attempt you make to grab certain pages, will immediately activate the paging code... and it will begin trying to adjust the very numbers your script depends on.
I'm not familiar with Adobe coding but somehow, there must be a way, to first convert those 4,000 pages of paging code to hard text. Then, and only then; whatever Search and Copy routine you desire should be straightforward.
|