Is it possible that i can use highlight activity on PDF.i would like to open PDF and highlight specific area like “total value”.
what the method to achieve this ?
1 Like
If you can select that element in the PDF then you can use the Highlight activity directly: https://activities.uipath.com/lang-en/docs/highlight
If you can’t find a stable and appropriate selector for the area you’re interested in you can use:
- Find Text Position ( https://activities.uipath.com/lang-en/docs/find-text )
or - Find OCR Text Position ( https://activities.uipath.com/lang-en/docs/find-ocr-text )
or even - Find Image ( https://activities.uipath.com/docs/find-image )
All these activities have an Output property of type UiElement (sometimes called UiElement, Element or FoundElement - the UiPath developers are almost as good as PHP developers at naming things)
You need to put that property into a variable which you can then pass to the Highlight activity, in the Element property.
Here’s how the Find Text Position is set up:
And here is how the Highlight activity is set up:

1 Like
^^ He said it better than I would of haha, yeah that’s pretty much it. Happy automating
thanks a lot
it worked like a charm
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.