Capture only happens at beginning of VNCScreen.start
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.
Pattern pattern = new Pattern(
Region cap1 = vncSesh.
ScreenImage img1 = vncSesh.
img1.save(
vncSesh.wait(0.5);
vncSesh.
vncSesh.wait(0.5);
Region cap2 = vncSesh.
ScreenImage img2 = vncSesh.
img2.save(
vncSesh.stop();
The click will WORK as i watch it on a seperate VNC session with VNC Viewer.. but both captures look the same (and its resembling before the click 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.
The capture.save() always seems to be a picture right when the VNC session starts. Its never a picture of the moment i call capture which is what im looking to accomplish.
Am i doing something wrong or this is a known bug with Sikuli 1.1.3 ?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: