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.
Script packages can also include external script resource files. These must be XML files with the file extension .odxml. You can use the Script.LoadResources method in your script to load the script resource file from the package.