← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295982]: How to click on a location which has a "text" on it defined in a variable

 

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

    Status: Answered => Open

HuyNguyen is still having a problem:
I tried the below code:
Settings.OcrTextSearch = True
Settings.OcrTextRead = True
text = "FT_App_Keyboard"
match = find(text)

and Sikuli reports:
[error] Image: could not be loaded: file:/<some_path>/xxxx.sikuli/FT_App_Keyboard.png
[error] script [ xxxx ] stopped with error in line 17
[error] FindFailed ( can not find FT_App_Keyboard in R[0,0 1366x768]@S(0) )

Although, there is "FT_App_Keyboard" text on the screen.
Do you have any suggestion?

Thanks

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