Creating and Using Macros in the Source Panel

To create a macro, in the Source panel:

  1. Choose Command > Learn Keystrokes.

  2. Execute the steps you want to record in the macro.

  3. Choose Command > Finish Learn.

  4. Choose Command > Replay Keystrokes to use the macro.

     -or-

  1. Choose Command > Edit Macro Commands...

  2. Type in action routines for the macro.

  3. To access this type of macro, add it to the Command menu.


To add a new macro item to the Command menu:

  1. Choose Command > Edit Macro Commands... to open the Edit Macro Menu dialog.

  2. Select New in the list box.

  3. Type in the macro name that you want to appear on the menu.

  4. With the cursor over the Accelerator field, enter an accelerator sequence, if desired.

  5. Enter a mnemonic, if desired.

  6. Record the macro.

    -or-

    Type in a macro using the supported action routines.

  7. Click Add.

See Also

Guide to the Cosmo Code Development Environment
12-96*293