Add Layout Breaks From Write Mode and Speed Up Casting-off With a Lua Library for ConsoleTools

As part of the release of five scripting libraries for the ConsoleTools Lua framework, I today publish the Casting-off Tool Library (the four other releases are: Tuplets, Window Menu Commands, Cueing and Selecting). It provides a number of simple tool functions for facilitating casting-off (i.e., the process of applying useful system breaks and frame breaks to sheet music).

The library’s tools for creating layout breaks will work directly from Write Mode. Also included is a dedicated function for creating both types of breaks with a single keycommand.

Tools for tasks that can only be done from Engrave Mode do already include the change of mode. (For ways to automate mode changes even more, have a look at the Window Menu Commands Library.)

Several tool functions for streamlining user interaction with properties for Layout breaks are provided as well, with which, for example, setting the Wait-for-next properties can be achieved via keycommands.

GIF – Concise casting-off commands:

casting-off with two keys

You can download the library below. The zip file contains the actual Lua script, and a PDF with the complete documentation:

ConsoleTools Tool Library - Casting-off 1.0.zip (540.1 KB)

Note: Do not try to run the lua file directly in Dorico (via the Script menu). You will need the ConsoleTools framework in order to use the library. However, the free limited version will suffice to try it out. You can find more information about ConsoleTools in this thread.

Feel free to ask any questions about the library here. (Any questions specifically about ConsoleTools should be posted in the thread about the framework itself, though.)

As with previous releases, it should be noted that this library is somewhat of a “public beta”. If you find that something does not work as should be expected from the documentation, please feel free to get in touch with me. Further down the road, I plan to re-include the library (with any bug fixes) in a larger one, which will offer a variety of other script-enhanced Dorico tasks.

3 Likes