← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #686421]: How To Input a variable containing text to reg.find()

 

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

    Status: Answered => Open

Mark McGuinn is still having a problem:

Have managed to get somewhere with v2.0.1. Now getting to the point where it does the findText but it fails with an error even though the text is in the image:

Code

reg = Region(300,293,1083,535)

m = reg.findText(carmake)

print m

Error
[error] script [ Mensel ] stopped with error in line 25
[error] FindFailed ( FORD as text )
[error] --- Traceback --- error source first
line: module ( function ) statement 
25: main (  <module> )     m = reg.findText(carmake)
[error] --- Traceback --- end --------------

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