📄 keyboard_recorder.shtml.htm
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Chris Maunder">
<TITLE>DevStudio Macros - VC4.2 style keyboard macro recorder for DevStudio 97</TITLE>
</HEAD>
<body background="../fancyhome/back.gif" tppabs="http://www.codeguru.com/fancyhome/back.gif" bgcolor="#FFFFFF" link="#B50029" vlink="#8E2323" alink="#FF0000">
<table WIDTH="100%"><tr WIDTH="100%"><td><td></tr></table>
<CENTER><H3><FONT COLOR="#AOAO99">
VC4.2 style keyboard macro recorder for DevStudio 97
</FONT></H3></CENTER>
<CENTER><H3><HR></H3></CENTER>
This code was contributed by <A HREF="mailto:darrenr@gissing-consulting.co.uk">Darren Richards</a>
<br><br><A HREF="keyboard_recorder_source.zip" tppabs="http://www.codeguru.com/devstudio_macros/keyboard_recorder_source.zip">Download project</A><br><br>
<p>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.
<p>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.
<p>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.
<P>
<HR>
<TABLE BORDER=0 WIDTH="100%"><TR>
<TD WIDTH="33%">
<FONT SIZE=-1><A HREF="../index.htm" tppabs="http://www.codeguru.com/">Goto HomePage</A></FONT>
</TD>
<TD WIDTH="33%">
<CENTER><FONT SIZE=-2>© 1998 Zafir Anjum</FONT> </CENTER>
</TD>
<TD WIDTH="34%">
<DIV ALIGN=right><FONT SIZE=-1>Contact me: <A HREF="mailto:zafir@home.com">zafir@home.com</A> </FONT></DIV>
</TD>
</TR></TABLE>
<CENTER><FONT SIZE=-2>2046</FONT></CENTER>
</BODY>
</HTML>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -