With the scripting interface you can, for example:
The scripting interface is present as a series of objects that export methods you can invoke and properties you can query (and sometimes set).
There are three ways to use scripts with Opus.
Any errors/warnings or text output from a script (via the DOpus.Output function) will be displayed in the Script Log 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.
You can also use the CLI tool to design and test ad-hoc scripts.