Creating and Using Macros in the Source Panel

To create a macro, in the Source panel:
-
Choose Command > Learn Keystrokes.
-
Execute the steps you want to record in the macro.
-
Choose Command > Finish Learn.
-
Choose Command > Replay Keystrokes to use the macro.
-or-
-
Choose Command > Edit Macro Commands...
-
Type in action routines for the macro.
-
To access this type of macro, add it to the Command menu.
To add a new macro item to the Command menu:
-
Choose Command > Edit Macro Commands... to open the Edit Macro Menu
dialog.
-
Select New in the list box.
-
Type in the macro name that you want to appear on the menu.
-
With the cursor over the Accelerator field, enter an accelerator
sequence, if desired.
-
Enter a mnemonic, if desired.
-
Record the macro.
-or-
Type in a macro using the supported action
routines.
-
Click Add.

See Also

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