← Back to team overview

sikuli-driver team mailing list archive

[Question #665357]: Click on text captured from Screen().text()

 

New question #665357 on Sikuli:
https://answers.launchpad.net/sikuli/+question/665357

Hi, 

I have got text using string1= Screen().text() function. 
Can we extract coordinates of some sub-string ? and then by using these coordinates is it possible to click(or apply any operation)on the sub-string?


e.g. I have text on screen with button Yes.
Are you sure you want to continue?
Buttons:
No Yes
string1=Screen().text()
will return 
Are you sure you want to continue?
No Yes

the simple OCR text search approach isn't successful in my application case :( 

I want to click on Yes button without using image. 

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