Element variable as an anchor

Hi,

I am trying to read a PDF document, but have an issue with the address fields. The only line with a suitable anchor is line 1, so I’d like to be able to output this to an element variable and use it to target the next line. However, I only see how to use element variables for targets, not for anchors.

I have tried the classic Anchor Base activity, but this is not compatible with modern activities and Get Visible/Full Text cannot output an element for use in the subsequent line. This means I have no element variable for line 3. Find Text Position feels a bit risky/inelegant to me.

Is there a way to do this?

Thanks

Hi @TJTheBuilder ,

Could you let us know if the document would always be in a Digital format and if so will the format be fixed ?

If the format is fixed, we could try checking background methods of extracting the data instead of UI Automation.

Let us know if you think this method is better than the UI Automation according to you, and if so, we would like to ask you with the Sample Input data and the Expected Output or the extraction values from it.