I am currently developing a bot that uses a text adapter (WinHllapi) to extract information of an specific region of the screen. The text of this region contains spaces and breaklines (Picture attached). However, when I extract the text using the property "Text" of the object "region", the string that contains the text removes the breaklines.
I need to extract the information maintaining the format of the text that appears in the screen. Do you know how can I solve that?
You could simply create a region for each line and concatenate them together with line breaks. Another option would be to parse the string and insert a line break every 80 characters (or however wide your region is).