I have another problem. I want to read a number from a field in the program. I use two options.
First. Get Text OCR, the retrieved value is correct (for example “11 432,98”), I can edit it and remove blank space and other characters from it by the command - variable.Replace(" “,” “).Replace (”, ", ‘’)
Second. Double click on a field in the program and use Copy Selected Text activity. Then I check the value retrieved by the Write Line activity and looks the same as the first option, but with this method as I will use the command variable.Replace(" “,” “).Replace (”, ", ‘’) the character “,” is removed, but blank space remains and the program returns the error “Assign: Input string was not in a correct format.”
I was compare the variables of two methods by IF activity, I get information that they are not identical! Why is this happening?
I have to use the Copy Selected option