sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29466
Re: [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)
Question #258340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258340
Status: Open => Answered
RaiMan proposed the following answer:
Sorry for misleading:
the mentioned
mm = list(f.findAll(img))
only makes sense, if f is a Region object.
There is an incompatibility between Finder.findAll() and
Region.findAll(), that indeed returns a list of matches.
When using a Finder, you still have to collect the matches using Finder.next() (as you finally did).
Thanks for testing.
With version 1.2 I will revise this anyway, so you might define a Region
based on an image, so all Region methods, that make sense for an Image
will work the same.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.