← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172529]: [HowTo] raise item limit of findAll()

 

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

Summary changed to:
[HowTo] raise item limit of findAll()

Description changed to:
****** HowTo (from comment #1)

not documented yet: 
Vision Settings parameter "FindAllMaxReturn" to change this

For example,
from org.sikuli.script.natives import Vision
Vision.setParameter("FindAllMaxReturn", 1000)

----------------------------------------------------------------------------------------


There appears to be a 100 match limitation on the findAll() method.  In other words, if an image [img] appears 1000 times on the screen the following seems to always return a count of 100:

a = findAll([img])
print str(len(list(a)))

Is there any way to increase this limit?

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