sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38534
Re: [Question #295187]: How To Change MoveMouseDelay using Java
Question #295187 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/295187
Status: Open => Answered
RaiMan proposed the following answer:
just tested in a normal Java project having sikulixapi.jar as ext.
library (version 1.1.1, IntelliJ IDEA CE, Windows 10-64)
package com.company;
import org.sikuli.basics.Settings;
public class Main {
public static void main(String[] args) {
p("Settings.MoveMouseDelay = %.2f", Settings.MoveMouseDelay);
Settings.MoveMouseDelay = 0.1f;
p("Settings.MoveMouseDelay = %.2f", Settings.MoveMouseDelay);
}
private static void p(String msg, Object... args) {
System.out.println(String.format(msg, args));
}
}
prints:
Settings.MoveMouseDelay = 0.50
Settings.MoveMouseDelay = 0.10
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.