Newsgroups: comp.windows.ms.programmer Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau From: bonneau@hyper.hyper.com (Paul Bonneau) Subject: Re: keystroke record & playback Message-ID: <1991May16.215454.426@hyper.hyper.com> Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,) Organization: HyperCube Inc. References: <1991May15.140905.17731@mnemosyne.cs.du.edu> Date: Thu, 16 May 1991 21:54:54 GMT In article <1991May15.140905.17731@mnemosyne.cs.du.edu> ebergman@isis.cs.du.edu (Eric Bergman-Terrell) writes: > >I would like to add macro record & playback to a Windows program that I'm >working on. Basically I'd like to have the macro recorder features built-in. > >Are there routines in the API for this? I couldn't find anything in the >index of the Prog. Ref. > >Any hints will be appreciated! > >Terrell > The hook functions (SetWindowsHook()) WH_JOURNALRECORD and WH_JOURNALPLAYBACK are just for this purpose. We use them in our app for QA and they work quite well. cheers - Paul Bonneau.