← Back to team overview

sikuli-driver team mailing list archive

[Question #680905]: java not able to use mouseMove function.

 

New question #680905 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680905

I have got some X and Y axis from sikuli and now I am trying to hover mouse on that location using the same xo-ordinates but it return error "[error] Location: outside any screen (3568, 815) - subsequent actions might not work as expected".

Below is my java code.
Screen s=new Screen();
System.out.println(s.find("C:\\ptest.png").getX()+";;"+ s.find("C:\\ptest.png").getY());		 
int x = s.find("C:\\ptest.png").getX();
int y = s.find("C:\\ptest.png").getY();
s.mouseMove(x,y);

Output in console.
398;;297
[error] Location: outside any screen (3568, 815) - subsequent actions might not work as expected



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