Path: 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 > 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