Running VBScript Macros

Home Page (Macros)OverviewHow Do I TopicsFAQReference

After installing a macro file, you can run the macros it contains. The easiest way to run them is to use the toolbar buttons or key sequences assigned to the macros.

Note   While a VBScript macro is running, the Visual C++ user interface does not respond to mouse clicks or keystrokes. This design prevents unchecked program actions from being processed between macros, but may give the appearance that the user interface is frozen while processing a lengthy macro.

You can also run macros from the Macros dialog box (Tools menu, Macro command) or the command line.

To run a macro from the Macros dialog box

  1. On the Tools menu, click Macro.

  2. In the Macro File box, select the file containing the macro you want to run. If this file is not in the list, first install the file, then select it in the Macro File box.

  3. In the Macro Name box, double-click the name of the macro you want to run.

    -or-

    Select the macro's name and then click the Run button.

To run a macro from the command line.

Visual C++ provides other ways of using toolbar buttons and key sequences to customize your desktop environment. For details, see Customizing Visual C++.