cliclick icon indicating copy to clipboard operation
cliclick copied to clipboard

Is there a parameter to control the speed of keyboard input?

Open zphj1987 opened this issue 3 years ago • 3 comments

i want control the speed of t:text ,i see

-e <easing> Set an easing factor for mouse movements.

but not find the type text speed parameter

zphj1987 avatar Aug 28 '21 18:08 zphj1987

The delay between key presses is hardcoded. However, there are two ways to control timing:

  • Option -w sets a wait time between commands in milliseconds, .e.g. cliclick -w t:100 t:H t:e t:l t:l t:o
  • Using command w:, you can define a single waiting time: cliclick t:H t:e w:200 t:l t:l t:o.

However, both approaches won’t work when passing several characters to t:, for example t:Hello. Is cliclick too fast for you / your Mac?

BlueM avatar Aug 30 '21 06:08 BlueM

If I can contribute, I'm looking for a simliar option as @zphj1987 because I find the default delay between key presses too slow...

I would love to find a way to make the typing faster.

rirze avatar Dec 10 '21 22:12 rirze

@rirze: feel free to add a PR. It should define an option which overrides the hardcoded value.

BlueM avatar Dec 30 '21 11:12 BlueM