Opus only supports scripting directly for rename operations, but you can abuse rename scripting to do other things.
Of course, you can also call external script files, passing them whatever arguments they need and running Opus commands from them via dopusrt.exe.