🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #13422

Re: Record/Playback for windows events.

#13422
From: Bill Turner
Date: Fri, 06 Jan 1989 18:33
16 lines
1086 bytes
> I am looking for a program which records keyboard events for a window
> along with timing information and allows the events to be replayed
> into another window.

Scott, this is what the journalling hook in Windows allows you to do!
Check the documentation of SetWindowsHook for WH_JOURNALRECORD
and WH_JOURNALPLAYBACK.

Journalling records hardware input events *before* they are dispatched.
So if you set the focus to one window, record the input, then set
focus to a different window and playback, this should work.

NB: journalling also records mouse events, and they are screen-relative.
Be careful about using the mouse to select things while journalling...

--Bill Turner
Technical Details
Message-ID: <106580012@hpcvlx.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!ames!pasteur!ucbvax!decwrl!hplabs!hp-pcd!hpcvlx!bturner
References: <1071@rlgvax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!ames!pasteur!ucbvax!decwrl!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.HP.COM (Bill Turner)
Newsgroups: comp.windows.ms
Subject: Re: Record/Playback for windows events.
Message-ID: <106580012@hpcvlx.HP.COM>
Date: 6 Jan 89 18:33:12 GMT
References: <1071@rlgvax.UUCP>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 16