← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #232330]: Any way to slow down the rate at which Sikuli will perform the type() command?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Just split the type("some_txt") in a series of type()'s for each character with some following wait.
If you need it more often, make a def(). 

def slowType(text, time):
    for c in text:
        type(c)
        wait(time)

so instead of 
type("set mode")

use
slowType("set mode", 0.3)

Nevertheless: I have put it on the request list to have a
Settings.TypeDelay=some_decimal_seconds

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