PDF-Basics is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________

See the AcroJS doc; look for the getNthWord() method.
Loop through the pages : for(var i=0; i < this.numPages(); i++)
get the total number of words on the page, set this number as the termination test for another loop, and check each word on the page for the desired text. If found, delete the page, and loop.


The AcroJS doc is your friend.

On Wednesday, Oct 1, 2003, at 13:58 US/Central, Scott, Casey wrote:

\What command is used in javascript to search for text.

I tried the search query but that only yields index information.

Thanks


-----Original Message----- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 9:40 PM


At 11:18 AM -0700 9/30/03, Scott, Casey wrote:
Is there a javascript command  that can search for a keyword and
delete pages that contain that word


Not as a single command, but...


        JavaScript can be used to search for text, and then you can
delete the pages that the text is found on.
Jim Plante
<[EMAIL PROTECTED]>


To change your subscription: http://www.pdfzone.com/discussions/lists-pdfbasics.html



Reply via email to