AutoCAD Services & Support

Adding action macros to toolbar or ribbon tab

Published date: 2008-Aug-19
ID: TS1088586

Applies to:
AutoCAD® 2009

Issue

You want to run an action macro created with the Action Recorder from a toolbar or ribbon tab.

Solution

To run an action macro from a toolbar or ribbon tab, you need to create a new command in the Customize User Interface (CUI) and add it to the desired toolbar or to a ribbon panel that is part of the desired ribbon tab.

Use the following syntax for the command macro:

^C^C_<action macro name>

For example, if the action macro name is Actmacro001, the command macro would be as follows:

^C^C_Actmacro001


    Give us your feedback on this document:
     Resolved my issue.
     Helpful but incomplete.
     Difficult to find.
     Difficult to understand.
     Did not resolve my issue.
     Document contains broken links and references.
     No comment.
     

    AUTODESK DOES NOT GUARANTEE THAT YOU WILL BE ABLE TO SUCCESSFULLY DOWNLOAD OR IMPLEMENT ANY SERVICE PACK OR WORKAROUND, OR ANY OF THE TIPS, TRICKS, EXAMPLES OR SUGGESTIONS OUTLINED IN ANY AUTODESK PRODUCT SUPPORT TECHNICAL DOCUMENTS. TECHNICAL DOCUMENTS, SERVICE PACKS AND WORKAROUNDS ARE SUBJECT TO CHANGE WITHOUT NOTICE TO YOU. AUTODESK PROVIDES TECHNICAL DOCUMENTS, SERVICE PACKS AND WORKAROUNDS "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL AUTODESK OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF DATA, OR LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, THAT MAY OCCUR AS A RESULT OF IMPLEMENTING ANY SERVICE PACK OR WORKAROUND, OR ANY SUGGESTION OUTLINED IN ANY AUTODESK PRODUCT SUPPORT TECHNICAL DOCUMENT, EVEN IF AUTODESK OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.