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.
Click
(Tools tab > Assigned Macros panel > Assign Macro).
Select the button, 1 to 10, to which you want to assign a macro or Visual Basic script.
Specify the macro or script to be assigned:
- To assign a macro, select Macro, click
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.
- To assign a macro, select Macro, click
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.
Select Save to store the button assignment.
You can assign additional buttons by repeating steps 2 to 5 above.
Select Close to close the dialog.
Click on one of the numbered toolbar buttons to run the associated macro or script.