Question #247662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247662

    Status: Open => Answered

DenisD proposed the following answer:
Hi! I don't know whether there is special option to make typing process slower, 
I use this method. 
     
       private Screen s = new Screen();
       public void typeText(String text, int slower) {
                char[] ctext = text.toCharArray();
                for (int i = 0; i < ctext.length; i++) {
                        s.type(ctext[i] + "");
                        try {
                                Thread.sleep(slower);
                        } catch (InterruptedException e) {
                                log.severe(e.toString());
                        }
                }
        }

The pros is that you can change delay for every line dynamically.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to