🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2137

faking keypresses

#2137
From: Gord Kurtenbach
Date: Mon, 10 Sep 1990 17:57
10 lines
846 bytes
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
Technical Details
Message-ID: <531@roo.UUCP>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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