Skip to content

Quick launch

Serhii Muslanov edited this page Apr 13, 2019 · 4 revisions

###Quick launch Create maven project and add the dependency

Create test class and build the project

import org.dikhim.clickauto.ClickAuto;
public class Main {
    public static void main(String[] args) {
        ClickAuto clickAuto = new ClickAuto();
        String script =
                "for(i =0;i<100;i++){" +
                "    mouse.move(1,1);" +
                "}";
        clickAuto.put(script);
        clickAuto.start();
    }
}

Id you did everything wrint you'll you cursor moving

Clone this wiki locally