← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #193923]: How to select a text containing a common word

 

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

    Status: Needs information => Answered

Roman Podolyan proposed the following answer:
IMHO, to get what you want, you can change search order and restrict
search to region(s)

Something like that:
1) Search for "File Name:" (and you may type required text there), store coordinates of "File Name:"
2) Using that coordinates, construct a Region (rectangle) above the "File Name:" label, which should contain "Name:", but exclude "File Name:"
3) Search for the "Name:" in that created Region.

Got the idea?

Not a very beautiful solution, maybe, but I would do it this way.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.