sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10017
Re: [Question #194102]: button matrix
Question #194102 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/194102
j posted a new comment:
You can capture all buttons at once or you can capture each button
explicitly. What works better for you depends on your GUI.
You can use the method of capturing the whole GUI and then calculate the clickpoint-coordinates if
- the buttons (almost) never move or change in size (or you'll have to recalculate and retake the screenshot)
- the buttons are very simmilar to each other (so that image recognition is not able to find the right image every time)
You should use one image for every button if
- The buttons move inside of the GUI or other elements of the GUI can change (so that the all-button-image would not be found)
- The look/size of some buttons can change (and would need a recalculation of the clickpoint-coordinates)
I guess the script that uses only one big image would be faster than
searching for each button, but it depends on the fact that you never
change the button positions.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.