View Single Post
  #3  
Old August 15th 19, 07:07 PM posted to microsoft.public.windowsxp.general
R.Wieser
external usenet poster
 
Posts: 1,302
Default Pasting into DOS - slowing it down ?

JJ,

That problem doesn't occur when pasting at the
COMMAND.COM prompt.


Indeed (I did try that too, just to be sure it was the DOS program that
caused it).

I would like to try to use a slower char-buy-char

pasting [snip]

There's no such setting. Clipboard is not designed with
performance throttling.


I was already afraid of that.

So chances are that your DOS program's use character
based input and clears the keyboard buffer each time.


Thats plausable. It is an old DOS program, and its rather possible that the
designer of the program wanted to be sure the user could not type-ahead
(some keystroke combinations are rather destructive) as some of its actions
could be rather slow to execute.

You'll just have to create custom application


:-) I already did (just in case the preferred method would not exist).
Sending a string already works.

Using "keybd_event()" (User32.dll) and a few Sleep()'s caused the pasting to
work as intended, just slowish (a ten-finger typer could easily outperform
it). Though I think Windows task-switching could be partly to blame there.

Thanks for the confirmation (of it not existing) and the suggestions.

Regards,
Rudy Wieser


Ads