[1.0.1] SikuliX-API (sikuli-java.jar): problem after upgrading from 0.10.2
I had ever written some sikuli script which using the sikuli-
However, after the upgrade, I find the "find"method does not work any more. I write a simple program to find a picture on desktop and sikuli can't find that at all. The code is like below:
public void findSomethingTest() throws Exception {
Screen s = new Screen();
s.
System.
Pattern p = getPattern(
Match m = s.find(p);
m.highlight();
}
the script will end with findfailure exception after 10 seconds. The error message is like below:
FindFailed: can not find P(-- BufferedImage --) S: 0.7 on the screen.
Line 1574, in file Region.java
I am sure that p will get correct value and the pps.PNG is really on the desktop. It is just like that the image recognition does not work any more. Have any other experience with this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- RaiMan Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: