Paul,
I think Windows has sendkeys, but I don't know what
the best packaging would be.
I'm not sure where I should find 'sendkeys'. Is not a funcion in one of the
regular DLLs (not in my header files), nor can I find it in de 'C:\Windows'
tree.
Ah, found it:
https://docs.microsoft.com/en-us/win...user-sendinput
Yes, I was also thinking of that one. But I'd like to be able to send the
keystokes to a specific window (did already try WM_KEYDOWN and -UP send and
post messages, but didn't work yet. Probably need WM_CHAR too) - so there
is less chance that the paste is dumped in a window which could go crazy
over it.
If you write your own program, you could add a parameter to set the
character rate.
:-) I was thinking of two settings actually: the down-to-up delay, as well
as the delay to the next down.
VirtualBox, I think once the driver is installed, it
interacts at the buffer level instead. Which gives
better integrity on copies, but doesn't allow
"consumption throttling".
I take it you mean that as "hasn't been implemented", as I do not see any
problem with delaying between chars there either.
If you're suitably motivated, I bet it can be fixed.
Inserting those Sleep()'s already did - even though it slows the whole thing
down quite a bit. :-)
Regards,
Rudy Wieser