User Interface Customizations for Macros

You can assign a macro to a toolbar button, a keyboard shortcut, or a mouse gesture.

If you assign a macro to one type of user interface control, it is available to assign to the other two. For example, if you assign a macro to a toolbar button, the macro appears in the Keyboard and Mouse Gestures tabs of the Customize dialog box. You can assign a keyboard shortcut or mouse gesture to the macro.

A macro remains available in the Keyboard and Mouse Gestures tabs of the Customize dialog box as long as it is assigned to at least one user interface control. If you delete all user interface assignments for a macro, the SOLIDWORKS software removes the macro from the Customize dialog box.

For example, you assign a macro to both a keyboard shortcut and a mouse gesture, then delete the mouse gesture assignment. The macro remains available in both the Keyboard and Mouse Gestures tabs of the Customize dialog box. If you also delete the keyboard shortcut assignment, the macro is no longer available in the lists the next time you open the Customize dialog box.