Defining order of terms in Proximity search, and custom output of results - custom action?
I am new to Acrobat, but not to basic scripting in other tools and programming languages.
I have a requirement to be able to load multiple PDFs into a folder, define search terms in order, and output results as follows:
- perform a proximity search on the terms, but only in the order they appear in the search box. For example if I am searching for terms A and B, if B occurs within 5 words following A, it is returned as a hit. If A occurs within 5 words following B it is not returned.
- the terms must be in the same sentence to be returned
- the output should bring the entire sentence where the words are found.
- Bonus: if multiple word terms are allowable to searched as a single value - like "A B" C, where if "C" follows the combined words "A B" within 5 words, yada yada.
Is this possible by creating custom actions in Acrobat? The first bullet is the most critical to avoid a lot of false hits
