Question #695754 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695754
Description changed to: enhancement tracked on GitHub: https://github.com/RaiMan/SikuliX1/issues/425 ------------------------------------------------- we use findBest() to pass mulitple images. now there may be instance where image may not be present on disk( like missed to checked in) or there may be a case findbest did not find it on screen is there a way to know these with findbest? one of the way is we check in each of the image path before calling findBest. is there any better approach? sample code def searchImage(name=[],SearchRegion=SCREEN): logInfo("Method: **searchImage***") logInfo("Search Path: "+str(getImagePath())) logInfo("Image Names: " + str(name)) ctrl=SearchRegion.findBest(name) if(ctrl==None): logInfo("No Object Found") else: logInfo("Object Found at Index:" + str(ctrl.getIndex())) ctrl.highlight(1) return ctrl logInfo("No Image Match. Check if image is present in repo and on screen") return None -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ 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