How to delay send commands in AutoHotKey?

How to delay Sendcommands in AutoHotkey?

If AutoHotkey sends keystrokes faster than the program can register inputs, words may be stuck with missing letters. ( stuffends as stf, or wasd squadends as wsdsqad)

+4
source share
2 answers

SetKeyDelay - This is what you need.

Note: SetKeyDelaydoes not obey SendInput; in this mode there are no delays between keystrokes. The same is true for Sendwhen acting SendMode Input.

+5
source

SetKeyDelay, Delay between keystrokes in milliseconds, PressDuration in milliseconds

, SendInput, Send ControlSend.

, , , :

SetKeyDelay, 500, 250

:

SetKeyDelay, 500, 250

Send Sincerely,{enter}John Smith  

, , , , autohotkey, , .

+3

Source: https://habr.com/ru/post/1568436/


All Articles