sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38333
Re: [Question #294217]: [1.1.1] new VNCScreen(): crashes with NPE
Question #294217 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294217
RaiMan proposed the following answer:
sorry, might not have been clear enough:
you either use the convenience VNCScreen.start() OR the detailed way
with socket.
so a valid test would be:
import org.sikuli.basics.Debug;
import org.sikuli.script.*;
import edu.unh.iol.dlc.VNCScreen;
public class test {
public static void main(String[] args) {
Screen S =new Screen();
Debug.on(3);
VNCScreen vnc = VNCScreen.start("127.0.0.1", 5903,10, 10000);
vnc.click(); // should click center of remote screen
}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.