Is there any activity that will also output the new line character as well? Get Text only read the text without the new line and Get full text did the same.Any other screen scrapping activities that I should try? If it returns the new line, then I can use environment.newline to split the string.
I think everyone answering here is missing the point. The text is not scraping as displayed, it has nothing to do with adding new lines into the string.
I have the same issue, with CV Get text my text is coming out as a single line, ignoring all the new lines (despite these being separate elements according to CV). There is no setting I can see to force it to recognise these, and I cannot split my acquired string because there is no character present that I can split on.
I would like, and I think OP was the same, a method by which these text can be read but capture those newlines correctly. In my case I cannot change that source txt as they are invoices.
Get CV Text, but don’t output the text. Output the REGION.
Set clipping region with the previous region as input.
Get OCR Text with no selector and using UiPath Screen OCR - this gets everything, but with the clipping region set this is controlled, and this method does get the newlines.
Set clipping region back to default.