** Changed in: sikuli Status: New => In Progress ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli Importance: Wishlist => Medium ** Tags removed: findall match ** Tags added: fkt-region -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/880861 Title: [request] findAll() should only return the most probable matches Status in Sikuli: In Progress Bug description: --- request (based on the primary bug situation) valuable test information below in comment #5 + findAll(): "most probable" means, that only those matches are returned, whose score differ only slightly from that of the best match (e.g. max 0.3 or even less). This surely is the expectation of most people, when using findAll(). Additionally it might make sense, to implement a findAny(), that returns ALL matches having a score above the given similarity, because this might be the expected result in some situations, when using findAll() in its current shape. ------------------------------------------------- 1. Sikuli 1.0 rc3 2. Windows XP SP3 32-bit 3. Enclosed code loops over all "Apply" boxes. Once apply has been clicked it wait for a confirmation box to appear, confirms, waits for the confirmation box to disappear. The final match does not point to the bitmap. 4. Required bitmaps attached. # setFindFailedResponse(PROMPT) setROI(Screen(0)) applies = findAll("Apply.png") for apply in applies: click(apply) confirm="Doyoureallyw-1.png" wait(confirm) click(Pattern("YesNo.png").targetOffset(-31,-1)) waitVanish(confirm) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/880861/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp