Make a shelf button for a script

  1. Select the script code in the Script Editor.
  2. Do one of the following:
    • Middle-drag the selection up to the shelf.
    • In the Script Editor menus, select File > Save Script to Shelf.
Note:

If you write a custom script to create your own tab on the shelf, you can also choose the icon that appears on this tab. For more information, see the shelfTabLayout command and the tabIcon and tabIconIndex flags.

Related topics