Dorico API, scripting

I see occasional references to the Dorico API and Dorico scripting. Do either of these exist, as supported interfaces, actually? If so, where does one find the documentation for them?

Scripting is undocumented, but it’s available in the Scripts menu. It uses the Lua language. It’s mostly limited to ‘procedural’ macros – you can’t query the state of anything.

There is an API for allowing other apps to control Dorico remotely: it’s aimed more at developers than users. You have to ask for the details from the dev team.

The API and scripting are good for automating things you can already do through the UI. It’s essentially macros on steroids. Unfortunately, we are not able to add new functionality at this time.

I created a .NET library to semi-abstract the Remote API. The source is in GitHub. It can serve as an example if you’re using something other than .NET.

3 Likes