Share

Assigning macros or Visual Basic scripts to toolbar buttons

You can assign a macro or a Visual Basic script to a button on the (Tools tab > Assigned Macros) panel. This panel provides quick access to up to 10 different scripts.

Note: Scripts must be run from the software command line if the parameters are input as command line arguments.
  1. Click assign macro icon (Tools tab > Assigned Macros panel > Assign Macro).

  2. Select the button, 1 to 10, to which you want to assign a macro or Visual Basic script.

  3. Specify the macro or script to be assigned:

    • To assign a macro, select Macro, click browse icon at the right of the text box, then navigate to and select the *.vbs file you want.
    • To assign a Visual Basic script, select Command Line and enter the Visual Basic script name in the box provided.
  4. In the Button tip text box, enter a description for this macro/command button. This description will be displayed as a tool tip on the button.

  5. Select Save to store the button assignment.

  6. You can assign additional buttons by repeating steps 2 to 5 above.

  7. Select Close to close the dialog.

  8. Click on one of the numbered toolbar buttons to run the associated macro or script.

Was this information helpful?