R
R
rkfddf2021-07-18 10:29:39
Python
rkfddf, 2021-07-18 10:29:39

How to speed up pywinauto.keyboard.send_keys()?

Here is a python / pywinauto code that works without problems

pywinauto.mouse.click(button='left', coords=(200, 235))
 pywinauto.keyboard.send_keys("Нужный текст")

Only very slowly - there is a pause between entering characters (about 0.1 seconds) and it takes time in proportion to the number of characters. Where in the settings is this pause time or how to insert text instantly, without simulating human input?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ScriptKiddo, 2021-07-18
@rkfddf

GitHub
send_keys method has a pause parameter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question