Share

Assign Macro/Command Button dialog

This dialog is used to assign a command or script file to one of the quick access buttons on the User Macro/Command Buttons toolbar, based on the Application Programming Interface (API) capabilities.

To access this dialog, click (Tools > Assign Macro/Command Button).

Tip: To view a list of the standard commands, click (View > Command Line), enter help on the command line and press Go.

General Settings

WidgetExplanation
Macro/Command ButtonSelect one of the buttons numbered 1 to 10 to view and/or edit the macro/command assigned to that button.
MacroSelect this option if you want to assign a Python (\*.py), PowerShell (\*.ps1), or VBScript (\*.vbs) script file you have created to the button selected above.
Macro file pathDisplays the path to the *.py, *.ps1, or *.vbs script file you have assigned to the button selected at the top of the dialog.

If you have not already done so, click the browse button at the right of this box to locate the script file.

Command LineSelect this option if you want to assign an API command to the button selected above.
Command line text boxEnter the API command just as you would enter it in the Command Line dialog ( View tab > Windows panel > User Interface > Command Line).
Button tipEnter the text you want to appear when you move the cursor over the button on the User Macro/Command Buttons toolbar. This will help you to remember what macro/command you have assigned to each button.
ClearClears the current macro/command assignment for the button selected at the top of the dialog.

Was this information helpful?