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

Hey, 

I am running sikuli 1.1.3 and want to operate on a remote computer via VNC and 
capture the screen after each action i do.

Here is my java code:

VNCScreen vncSesh = VNCScreen.start(remoteIP, 5900, "password", 10, 10);
Pattern pattern = new Pattern("imgs/test1.png");
Region cap = vncSesh.newRegion(0, 0, 500, 500);    
vncSesh.wait(0.5);
vncSesh.click(pattern);
vncSesh.wait(0.5);
ScreenImage img1 = vncSesh.capture(cap);
img1.save("/Pictures/");
vncSesh.stop();

The click will WORK as i watch it on a seperate VNC session with VNC Viewer.. 
but the capture is resembling before the click ever happened.

Im testing this by looking a stopwatch on the remote computer and the time of 
the stop watch in the capture is before the click happens.

Am i doing something wrong or this is a known bug with Sikuli 1.1.3 ?

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to