sendKeyStroke behaves asynchronous without callback

Issue Description:

  1. Keys getting sent in wrong order - i maybe need non supported await callback function when using sendKeyStroke, what do you think, any hints how to solve that (maybe its possible to fill and paste out of clipboard or any other suggestion how to implement that?)?

Here more details on the app i am developing:

Here my Repo and a recording of the overwolf app (if needed). Feel free to PR if you want to.

Workaround: Added delay

@patrickjaja sorry for the late response.
I will take a look at your question tomorrow when I’ll get to the office. Thanks!

Hi @patrickjaja,

I examined your workaround and consulted without R&D. the delay is the best solution. As the sendKeyStroke() function is not designed for words - just for single keystroke send.

Closing the ticket.

Thanks.