← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680194]: OCR number reading works but how to put in conditions?

 

Question #680194 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680194

    Status: Open => Answered

RaiMan proposed the following answer:
last silly question for today ;-) (it is evening now for me)

OCRnumber is a String

1 is Number

which are always unequal.

best solution:

if int(OCRnumber) == 1:

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.