Share via


Overview: Macros

Home Page (Macros)How Do I TopicsFAQReference

With VBScript macros or Developer Studio add-ins, you can automate routine tasks. For example, you can update a project by automatically opening the project, changing some project files, saving the changes, and then rebuilding the project.

Visual C++ provides two ways to record macros. With Quick Macro recording, you by-pass the interface that lets you name and save a macro for later editing. Your Quick macro is recorded and persisted until you record another Quick macro. With regular macro recording, you give the macro a name and description, record it, and then edit the resulting VBScript file until the macro performs exactly as you want it to.

What do you want to know more about?

VBScript Macros

Differences between VBScript macros and Developer Studio add-ins

Macro files

Automation

Developer Studio objects

What do you want to do?

Record a macro

Write a macro by hand

Edit a macro

Install a macro

Assign a macro to a toolbar button or key sequence

Run a macro

Debug a macro

Delete a macro

Rename a macro

Use the sample macros