New Scripting Interface

Opus 10 provided a simple Active Scripting host that lets you write rename scripts in any Active Scripting-compatible script language (VBScript, JScript, etc).

Opus 11 expands this significantly. With scripts in Opus 11 you can, for example:

 

There are two ways to use scripts with Opus (or three if you count the existing rename script system).

 

The CLI tool has been enhanced to allow you to design and test ad-hoc scripts. Turn on the Script interpreter option to enter script mode, and select the script language from the drop-down field (or enter the appropriate language name).
 

        CLI ScriptMode.png

 

Press F5 or click the Run button to run your script.

 

Any errors/warnings or text output from a script (via the DOpus.OutputString function) will be displayed in the Other Logs panel (part of the Utility Panel). You can choose the type of information to display in the log using the Preferences / Miscellaneous / Advanced: script_output_level option.