Publishing Scripts to the Ribbon

You can publish a script to create a tool button in the ribbon.

To publish a script:

  1. Write a script.
  2. In the Publish Script dropdown, check Publish as Tool.
  3. Click Publish Script.
  4. In the Publish Script Tool dialog:
    1. Enter a Name.
    2. Enter a Description.
    3. Enter an Icon Path or browse to select an icon.
    4. Click OK.

The tool is added to a Scripts group in the Tool ribbon.

Note: Published scripts run in Debug mode when open in the Script editor and Run mode otherwise. Close any published scripts that are open in the Script editor to have them run in Run mode.