Dorico uses the Lua programming language for its Scripts feature. You will be hearing more about Lua as it relates to music notation programs on this blog in the coming months.
Dorico’s Edit filters are a great way to illustrate how Lua scripting can make your life in Dorico even more efficient.
Dorico’s ability to filter for specific types of objects is extensive. These are available when in Write Mode by choosing Edit > Filter >. (A subset of filtering operations is also available when in Engrave Mode).
But why should I need to run a script just to make filter selections? Finale and Sibelius both have the ability to filter for a variety of different objects for copy and paste, or for deletion operations. So?
What is different about Dorico is its ability to perform its Edit filter operations cumulatively, rather than each successive filter operation replacing the last. A Macro script can perform these cumulative filtering choices very fast, as well as allowing for very detailed filtering operations.
Of course, you could resort to using a third party macro program like AutoHotKey on Windows or Keyboard Maestro on Mac, but Dorico’s Scripts feature, though still in a nascent state as of v2.2, can provide just what we need for creating more esoteric edit filter selections which are not already a preset.
more >> “Cumulative Filtering Scripts created with Lua using Dorico’s Macro Recording feature”