Skip to main content
Participating Frequently
December 16, 2022
Question

Search returns to the first instance of a word on a page after using a comment tool

  • December 16, 2022
  • 1 reply
  • 619 views

Hello,

A couple of colleagues and I are trying to create an automation that could potentially save my team hundreds of hours while doing quality checks on documents, but we are bumping into a roadblock.

The idea is to create a UiPath bot to search and stikeout (or highlight) instances of certain misspelled words in a PDF so that it doesn't need to be done manually. The issue is that, once the bot (or user) finds and strikes out the first instance of a word in a page, clicking "next" on the search box returns to the first instance of that word and the bot gets stuck searching and marking the same word over and over.

Is there a solution for this? Would this be something that Adobe would consider patching up in Reader DC?

 

Thanks!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 17, 2022

There are much better ways of doing that than with a UI bot. For example, you can use a combination of an Acrobat (Acrobat Pro only) and a script to search a file (or multiple files) for a customizable list of terms, and then highlight (or strike-out, or whatever) all of them.

try67
Community Expert
Community Expert
December 17, 2022

Even if you only have the free Reader it can be done, but then it's far less efficient (still better than your proposed solution, though). For example, you can do it using this (paid-for) tool I've developed:

https://www.try67.com/tool/acrobat-highlight-all-instances-of-a-word-or-phrase-in-a-pdf