sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35708
Re: [Question #275137]: How to Scroll down in a Screen and search for a Particular Image using Sikuli
Question #275137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/275137
Status: Needs information => Answered
masuo proposed the following answer:
First of all you should find where Sikuli find specified image at .
In this case highlight() is useful.
I am not using Java, so if a syntax error occurs , I want you to suitably modified .
[code for investigation:]
Match m = screen.exists(clip);
if(m != null)
Region r = Region(m.getX(),m.getY(),m.getW(),m.getH())
r.highlight(3);
[As one of the solution:]
Since similar string a lot on screen , it might be solved by increasing the degree of similarity .
screen.exists(Pattern(clip).similar(0.90))
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.