VC4.2 style keyboard macro recorder

Although the new VBScript support in DevStudio is excellent, I often miss the ability to record a quick keystroke macro like you could in VC4.2. KbdMac is an add-in for Developer Studio that emulates that old VC4.2 functionality.

KbdMac works by using the Journalling Hook functionality, in a similar fashion to the old Windows 3.1 Recorder application, but only keystrokes in the current instance of DevStudio are recorded.

Compile the project in Visual C++ (Win32 Release MinDependency), and install the resulting KbdMac.dll by selecting Customize from the Tools Menu and browsing for the DLL on the 'Add-ins and Macro files' tab. The add-in should appear as 'KMAddIn Class' in the list of active add-ins. Once installed a new toolbar should appear with 3 buttons for record/stop/play, that operate in a similar way to the old VC4.2 ones.



Comments

  • Compilation with VC6

    Posted by Legacy on 04/09/1999 12:00am

    Originally posted by: Van Acker Peter

    The "unresoved external _main" problem can be solved by going to the Project Settings, selecting C/C++ and the Preprocessor category. There remove the ATL_MIN_CRT preprocessor statement.
    The other warning I got from the compiler telling me to put in the -GX option can be solved by selecting the C++ Language category in the C/C++ tab of the Settings, and then set the "Enable exception handling" on.

    Reply
  • Very cool...but weird in VC6

    Posted by Legacy on 02/23/1999 12:00am

    Originally posted by: Ron Olson

    Hey -

    A friend of mine installed it with VC5 and it works beautifully for him. I tried to compile it under 6(sp2) and got undefined external _main (a quick int main{return 0;} took care of that), but after registering it, I am surprised to discover that it records characters, but not directional keys (arrows, home, etc.) Don't you love Microsoft for changing it all around between version?

    Otherwise, a great tool (my friend's very happy...).

    Reply
  • Works very well and is reliable.

    Posted by Legacy on 01/12/1999 12:00am

    Originally posted by: Hans Wedemeyer

    I've used this daily. I can recommend it..

    regards
    Hans Wedemeyer

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Live Event Date: November 13, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT APIs can be a great source of competitive advantage. The practice of exposing backend services as APIs has become pervasive, however their use varies widely across companies and industries. Some companies leverage APIs to create internal, operational and development efficiencies, while others use them to drive ancillary revenue channels. Many companies successfully support both public and private programs from the same API by varying levels …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds