Script Package

To make it easier to distribute your scripts to others, you can bundle one or more script add-ins in an archive called a Script Package (a zip file with the .osp suffix).

You can also include a set of icons that can provide the default icon images for any internal commands your scripts add.

 

To make a script package:

 

If you like you can add .osp to the list of recognized Zip file extensions on the Zip & Other Archives / Zip Files page in Preferences, to make script packages easier to deal with in Opus.

 

If you want to add icons that your scripts can refer to:

 

In your scripts, you can use the icons in your icon set as the default toolbar button images for any internal commands you add, using the ScriptCommand.icon property.