automating Games with different Themes but similar layout

Asked by Overlord

Hi,

From what I understand Sikuli uses image recognition for Automation. I am looking to Automate Flash games. However, the theme for these games always change for example colors but the layout and position of buttons are always in the same place.

If I were or create a script with Sikuli will it be possible to run this script across all games? Is it also possible to do Image to Text checks with Sikuli?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--- the theme for these games always change for example colors but the layout and position of buttons are always in the same place.
This is best solved, by once evaluating the positions of the controls relative to one or more fixed visual objects.
The only other option is to have a set of images for every possible theme variant.
Or you have to intelligently combine both aspects.

--- possible to do Image to Text checks
test the available text features of SikuliX, to find out wether it works for you.
see the docs and many posts here.

Can you help with this problem?

Provide an answer of your own, or ask Overlord for more information if necessary.

To post a message you must log in.