sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43528
[Question #656208]: Sikuli can not find image on second monitor
New question #656208 on Sikuli:
https://answers.launchpad.net/sikuli/+question/656208
I'm unable to click on the image on the second monitor. I'm getting the error message Find failed. Below is my code and error message as well. and running this code Eclipse.
Exception in thread "main" FindFailed: can not find C:\Users\fsingh\Desktop\Sikuli\D.PNG on the screen.
Line 1574, in file Region.java
at org.sikuli.script.Region.handleFindFailed(Region.java:1574)
at org.sikuli.script.Region.wait(Region.java:1682)
at org.sikuli.script.Region.find(Region.java:1590)
at Sikuli.main(Sikuli.java:25)
Screen s = new Screen(2);
Pattern image=new Pattern("C:\\Users\\fsingh\\Desktop\\Sikuli\\D.PNG");
s.wait((double) 2.0);
s.click(image);
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.