Question #263287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263287
Status: Open => Answered Eugene S proposed the following answer: First of all, I hope I understood what you are asking. I wouldn't recommend using tesseract for menu items detection. As you have mentioned yourself, it is not reliable. There are 2 more or less reliable options: 1. Create a screenshot (pattern) of every item in your combobox and then just detect it as any other Sikuli pattern. 2. In most cases, the items are more or less static, meaning that they are not expected to disappear or their order to be changed on a regular basis. So what you can do is just use keyboard actions to navigate to a specific list items. For example, if you know that a certain value is coming second in your list, you can simulate DOWN button to be pressed twice: if item == "itemName1": type(Key.DOWN) elif item == "itemName2": type(Key.DOWN) type(Key.DOWN) and so on... Of course, first you will have to select the combobox itself by clicking somewhere on it and making the items menu active. Euegene -- You received this question notification because you are a member of Sikuli Drivers, which 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