[request] Typing speed option --- available with 1.0.1+ but should be more permanent

Bug #1322367 reported by Zed
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Undecided
Unassigned

Bug Description

I was searching to see if there was a way to change the rate between keystrokes and found https://answers.launchpad.net/sikuli/+question/178012. So it seems like it's not implemented as of rc3, but wonder if there's open request for it. If not, would like to formally post one.

The application I'm using it to automate uses RDP and sometimes appear to drop keystrokes, particularly for longer strings. Also due to security restrictions, some parts of the application do not allow for copy and paste.

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: Typing speed option --- available with 1.0.1+

With version 1.0.1+ this is an option:

Settings.TypeDelay = 0.5
type("some text")

this will insert a delay of 500 msec between every keystroke of the next following type, which resets it to 0 again (actually a delay of 0.020 is generally applied)

Changed in sikuli:
status: New → Fix Released
milestone: none → 1.0.0
summary: - Typing speed option
+ Typing speed option --- available with 1.0.1+
Revision history for this message
Zed (zh2eou) wrote :

Cool, didn't know about that. Would be nice if it was a more permanent setting, but I suppose one can create a custom type function which sets the custom delay every time it's called.
So when it's set to 0, the actual delay is 0.02s? Or is that the default delay setting?

RaiMan (raimund-hocke)
summary: - Typing speed option --- available with 1.0.1+
+ [request] Typing speed option --- available with 1.0.1+ but should be
+ more permanent
Revision history for this message
RaiMan (raimund-hocke) wrote :

Even with a Settings.TypeDelay = 0, a hard wired delay of 20 msecs is applied.

There is a new write() command (sorry, not yet documented), that has more options than type() and allows to specify timing inline. So I can now make Settings.TypeDelay a permanent setting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.