Add the selected files and folders to Icon Set File or Script Package File

Opus Icon Sets (.dis files) and Script Packages (.osp files) are really just .zip archives with a different extension.

The buttons below can help you quickly create these archives without having to make a .zip archive and then rename it as a second step.

You need to add .osp & .dis to the list of recognized Zip file extensions on the Zip & Other Archives / Zip Files page in Preferences.

[quote]Preferences / Zip & Other Archives / Zip Files

Add ".dis" & ".osp" to Zip Extensions

for example:.zip;.jar;.exe;.osp;.dis[/quote]

Button to add selected files to a .dis package named after the current directory, in the current directory:

<?xml version="1.0"?> <button backcol="none" display="both" textcol="none"> <label>Icon Set File</label> <tip>Add the selected files and folders to an Directory Opus icon set file at here. (*.dis)</tip> <icon1>#newzipfile</icon1> <function type="normal"> <instruction>Copy ARCHIVE CREATEFOLDER="{sourcepath|noterm|nopath}.dis" HERE</instruction> </function> </button>

Button to add the selected file to a .osp package named after the selected file, in the current directory:

<?xml version="1.0"?> <button backcol="none" display="both" textcol="none"> <label>Script Package File</label> <tip>Add the selected files and folders to an Directory Opus Script Package File to here. (*.osp)</tip> <icon1>#newzipfile</icon1> <function type="normal"> <instruction>Copy ARCHIVE CREATEFOLDER="{file|noext}.osp" HERE</instruction> </function> </button>