The Scripting Toolbar

The Scripting toolbar allows you to open the Script Editor window and run scripts with a single click.

Run a script Closed

  1. Click in the data window where you want to apply the script to establish focus.

  2. Click a button on the Scripting toolbar.

TIP Hover over a button to show a ToolTip that displays the name of the script associated with a button.

Add or remove toolbar buttons Closed

  1. From the View menu, choose Toolbars. The Toolbars tab in the Preferences dialog is displayed.

  2. Select Scripting in the toolbar list, and then click the Customize button. The Customize Toolbar dialog is displayed.

  3. Use the controls in the Customize Toolbar dialog to add, remove, or rearrange the buttons on the selected toolbar. All scripts from the Script Menu folder are listed in the Available tools column.

    • Select a script in the Available tools column and click Add to add the script to the toolbar before the currently selected button.

    • Select a script in the Current tools column and click Remove to remove it from the toolbar.

    • Select a script in the Current tools column and click Move Up or Move Down to rearrange the buttons.

    • Click Reset to restore the toolbar to its default setting.

  4. Click the OK button.

TIP For more information about adding scripts to the Script Menu, please see Running Scripts.

Create custom button images for scripts Closed

If you want to display custom icons for scripts in the Scripting menu and toolbar, you can add .png files to your Script Menu folder.

  1. Create a PNG file with the icon you want to use. Icons should be 16x16 pixels, and transparency is supported.

  2. Save the PNG file in your Script Menu folder (typically C:\Program Files\BorisFX\Sound Forge Pro2026.0\Script Menu) using the same name as the script the icon should represent.
    For example, to assign a custom icon to the HelloWorld.js script, the icon should be saved as HelloWorld.js.png.

  3. The custom icons will be displayed in the Scripting menu and toolbar the next time you start the application.