← Back to team overview

sikuli-driver team mailing list archive

[Question #698710]: How to align images with Sikuli Automation

 

New question #698710 on SikuliX:
https://answers.launchpad.net/sikuli/+question/698710

I'm trying to automate a simple game which has mini games in it. I'm trying to automate 2 mini games which i have trouble doing.

1. matching the color in the center with the color on the side. Let's assume X is the color in the center.

    A
B X  C
    X

So if X on the bottom matches the center, I need to swipe down. If X is on the right, then swipe. The image are similar but on the side is a 'long' version of the image in the center. How can i do that?

2. Aligning images (sort of like 4 in a row game)

        ABC
ABCXXX
        ABC

basically the center row can be dragged left or right. I need to align the ABC to the top and bottom. How can I do that in sikuli?

I'm using the IDE to do that. So the language is jython i believe.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.