Forgot your password?

typodupeerror

Comment: Re:What part of RECORD.... (Score 2) 127

I said RECORD. As in RECORD. As in not SCRIPT OR PROGRAM OR DEVELOP. As in RECORD.

And as I told you in my post you CAN DO THIS IN VISUAL STUDIO SINCE THE ABSOLUTE BEGINNING. For example, this is the instructions from Visual Studio 6 since that's the earliest version that can be pulled up on MSDN.

Comment: Re:Really, you call that "recording a macro"? (Score 1) 127

(though, of course, such a macro cannot be produced by recording your actions - it has to be written manually

This is of course very much wrong.

Recording Macros
The following procedure steps through creating an example of a simple macro.

The keyboard shortcuts used in this example assume the default Visual Studio shortcut key configuration.

To record a macro

Create a new text file by choosing File on the New submenu on the File menu.

Choose Text File in the General category.

In the new text file, type the following:

one two three four

Press HOME to place the cursor at the beginning of the text.

Press CTRL+SHIFT+R or choose Record Temporary Macro on the Macros submenu on the Tools menu to initiate the environment's macro recording mode. The Recording Toolbar appears and a small spinning cassette tape icon in the status bar indicates that you are currently recording.

Press CTRL+SHIFT+RIGHT ARROW to select the word "one" and the space after it, then press DELETE.

Press CTRL+SHIFT+R or click the Stop Recording button in the Recorder Toolbar to stop recording the macro. Notice that the spinning cassette icon in the status bar disappears when macro recording ceases.

At this time, if you open Macro Explorer and expand the MyMacros node, you should see a new entry called "TemporaryMacro" under the RecordingModule node. This is the default name given to newly-recorded macros.

Unix: Some say the learning curve is steep, but you only have to climb it once. -- Karl Lehenbauer

Working...