06-23-2004, 07:22 AM
Quote:I have software at home that I have to run over and over. I have to hit these keys on the keyboard repeatedly: Enter - Enter - Enter - D - st6.min - Enter - etc etc.Hi Licentia,
I'm wondering if there is a QBasic command that I can use to have QBasic hit those keyboard keys for me (so to speak). If there is a command for that can someone post it so I can then search Google on how to use that command?
In 1985 there was a utility program called SUPERKEY by Borland which did exactly what you want. You probably can still find a copy around. You'll also need the manual.
Another way is to "stuff the buffer" or as Nathan says "fill the keyboard buffer". You don't need to do a TSR for this, but you do need the StuffBuf function for QB or QuickBASIC which come with Ethan Winer's QuickPak Professional Library which used to cost about $159. For me it was well worth it.
See www.ethanwiner.com
Anyway, the solutions exist --- they just might not be free.
*****