Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ucselx!bionet!arisia!roo!kurtenba From: kurtenba@parc.xerox.com (Gord Kurtenbach) Newsgroups: comp.os.msdos.programmer Subject: faking keypresses Keywords: keypress interrupts resident device input Message-ID: <531@roo.UUCP> Date: 10 Sep 90 17:57:53 GMT Sender: news@parc.xerox.com Lines: 10 Does anyone know how I can fake keypresses from say a C program? I`m trying to control a resident program which responds to certain hot keys (that is takes over control when these keys are hit and eventually returns control) from my program. What I would like to do is from my program queue up a bunch of fake keypresses then let the resident program run. Is there some way of doing this? Thanks in advance Gord