RAD Studio (Common)
ContentsIndex
PreviousUpNext
Recording a Keystroke Macro

You can record a series of keystrokes as a macro while editing code. After you record a macro, you can play it back to repeat the keystrokes during the current IDE session.

To record a macro

  1. In the Code Editor, click the record macro button Macro record at the bottom of the code window to begin recording.
  2. Type the keystrokes that you want to record.
  3. When you have finished typing the keystroke sequence, click the stop recording button Macro stop.
  4. To record another macro, repeat the previous steps.
    Note: Recording a macro replaces the previously recorded macro.
The macro is now available to use during the current IDE session.

To run a macro

  1. In the Code Editor, position the cursor in the code where you want to run the macro.
  2. Click the macro playback button Macro playback to run the macro. If the button is dimmed, no macro is available.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!