Forum Discussion

Pronto's avatar
15 years ago

Compare a value from OCR to value in a Spreadsheet

Hi Guys,



Just wondering if it is possible to get a value from a screen using OCR and compare this value to a field on a spreadsheet.



I have been able to get both values out and displays the message in the results, but have not been able to compare the values before displaying results to show a True/False result.



Any help would be appreciated.



Cheers

1 Reply

  • Hi,



    Well, you can just use comparison operators.

    ...

    if(valueFromSpreadsheet == valueFromOCR)

    // Values are equal

    else

    // Values are different

    ...