Can't click when using a Match object - JAVA
I'm needing to click on multiple of the same image my only problem is when I'm trying to click a match the mouse is just clicking and not moving to the coordinates of the images found. The match iterator is able to find all the images but its just not moving to them. I've tried a couple of tests with different images but its not working... Any help is appreciated.
My code:
import java.util.Iterator;
import org.sikuli.
import org.sikuli.
import org.sikuli.
public class TestClick {
static String greenTile = "C://Java/
static String yellowTile = "C://Java/
static String purpleTile = "C://Java/
static String blueTile = "C://Java/
public static void main(String[] args) throws InterruptedExce
Screen s = new Screen();
Iterator<Match> matches = null;
while (true) {
try {
matches = s.findAll(
for (; matches.hasNext(); matches.next()) {
try {
s.
Thread.
} catch (FindFailed e) {
e.
}
}
} catch (FindFailed e) {
e.printStac
}
Thread.
}
}
}
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eugene S
- Solved:
- Last query:
- Last reply: