You can create a tool on a tool palette that executes a single command or a string of commands.
You can add frequently used commands to a tool palette. When the Customize dialog box is open, you can drag tools from a toolbar to a tool palette or you can drag tools from the Customize User Interface (CUI) editor to a tool palette.
Once you add a command to a tool palette, you can click the tool to execute the command. For example, clicking a Save tool on a tool palette saves a drawing just as the Save button on the Standard toolbar does.
You can also create a tool that executes a string of commands or customized commands, such as an AutoLISP. routine, a VBA macro or application, or a script.