Hi @AkshaySandhu,
First of all, thanks for taking time to work on this!
I got errors running this, so I’ll try to fix them.
However, you may be getting false at the end due to a typo in your default value of strPageValue: “,Page 1 ot 4,Page 2 of 4,Page 3 of 4,Page 4 of 4”
Not sure if I understand your code completely.
Looks like you are using Powershell to open up the document in Acrobat. Then using hotkeys to page to the last page?? Not sure I understand what you get from Get Text text /4" GetValue activity. Finally, it appears that in your While loop you are getting the OCRText in the clipping region.
If you don’t mind, can you briefly explain the steps in your workflow? Are you getting efficiency by avoiding OCR’ing the entire page by using Clipping Region?
Thanks again.