Here comes the long-winded response. I'm going to re-write my function with an array, but honestly I predict I'll have less than five mark ups per document, so I don't know that it will save much processing time. My current script takes about 30 seconds to process a 3 page document. My test is searching on 7 terms. This script will have to work on more like 50 terms, and each document will be 100s of pages. I'm also going to try taking my list of terms and loading them into a single string to remove one my loops: var terms = "my, redact, list, is, bogus"; var n = terms.search("redact"); I don't know anything about the indexing function in Acrobat yet, but since there is a good possibility that there will be no terms discovered in a document, it might make sense to check against an index first to see if I even need to search a document word-by-word, and if search terms are found, I could likely limit the scope of terms to search for. The manual search function, that I'm guessing creates/uses an index, is so much faster. I also thought about creating a custom dictionary to discover the terms. I'm not sure that even makes sense. Any thoughts on that? The script actually checks all open documents, and marks up the document and creates a report at the end, so even if this takes a while to run, it should still make folks happier than doing it manually. Rick
... View more