Sending keys to keyboard buffer

Hi!

How can one programmatically send KeyStrokes to the DOS Keyboard buffer?

To execute some implementation of such a program...

one would give a command like...


exefile f10 %f %x


...which would mean that the {f10} function key will be first buffered, following would be Alt+f and Alt+x.


Like in VB we have the SendKeys function. A similar thing!


Help will be appreciated.


Comments

  • Hi

    have you tried writing data to stdin


    fputc (stdin, c); ???


    Don't know if it will work but try it


    Phil


  • Hi Phil!

    THanx for replying!

    I tried but it does not work!!




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories