To create a command tool that executes
multiple or customized commands (advanced)
Right-click on the title bar of a tool palette. Click Customize
Palettes.
In the program, drag a command from a toolbar to the tool
palette and, without releasing the mouse button, move the cursor to
the place on the tool palette where you want the tool.
Release the mouse button.
On the tool palette, right-click the tool. Click
Properties.
In the Tool Properties dialog box, change the name and
description to an appropriate name and description for the string,
AutoLISP routine, or script.
Under Command, in the Command String box, enter a string of
commands or customized commands, such as an AutoLISP routine, a VBA
macro or application, or a script.