← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #275381]: How to find the text from the screen and that text should be assigned to the variable

 

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

RaiMan proposed the following answer:
apparently your text is an image filename.

you either have to cut off the .png before using 
find(text)

or try with 
match = findText(text) # valid only with final 1.1.0+

the last version does not try to interpret the given text as image
filename.

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