Java Code Examples for org.sikuli.basics.Settings#MoveMouseDelay

The following examples show how to use org.sikuli.basics.Settings#MoveMouseDelay . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SikuliSettings.java    From Cognizant-Intelligent-Test-Scripter with Apache License 2.0 6 votes vote down vote up
public static void init() {
    Settings.ActionLogs = true;
    Settings.InfoLogs = true;
    Settings.MoveMouseDelay = 0.1f;
    Settings.SlowMotionDelay = 0.1f;
    Settings.DebugLogs = true;
    Settings.OcrTextRead = true;
    Settings.OcrTextSearch = true;

}
 
Example 2
Source File: ImageCommand.java    From Cognizant-Intelligent-Test-Scripter with Apache License 2.0 5 votes vote down vote up
public ImageCommand(CommandControl cc) {
    super(cc);
    try {
        robot = new Robot();
    } catch (AWTException ex) {
        Logger.getLogger(ImageCommand.class.getName()).log(Level.SEVERE, null, ex);
    }
    Settings.ActionLogs = true;
    Settings.InfoLogs = true;
    Settings.MoveMouseDelay = 0.1f;
    Settings.SlowMotionDelay = 0.1f;
    Settings.DebugLogs = true;
    Settings.OcrTextRead = true;
    Settings.OcrTextSearch = true;
}
 
Example 3
Source File: SettingsKeywords.java    From robotframework-SikuliLibrary with Apache License 2.0 4 votes vote down vote up
@RobotKeyword("Set move mouse delay")
@ArgumentNames({"delay"})
public void setMoveMouseDelay(float delay) {
    Settings.MoveMouseDelay = delay;
}