As a newbie climbing the learning curve of Dorico 3.5 Pro I am confronted with various mysteries. Today I am trying to understand how to use scripts. (In particular to implement mensural notation.). I have found the work of Alexander Plötz who produced a promising article for my area of interest…
In order to take advantage of this I need to understand how to use Lua scripts. (I have a software engineering background so this ought to be easy for me). Alexander offers this further article.
In that article Alexander says that the script files can be found (on a Mac) in the folder cript > End Recording Macro in the folder ~/Library/Application Support/Steinberg/Dorico/Script plug-ins but on my brand new installation of Dorico on my brand new MacBook Pro this folder does not exist.
I have done as Alexander suggests for a simple preliminary exercise: I put myself in write mode; started recording with Scrip/Start Record Macro’; entered a few notes into my score; ended the recording with ‘Script/End Record Macro’; and then tested it by running ‘Script/Run Last Script’. All went well.
I wanted to read the Lua code generated and expected (following Alexander’s article) to find it in a file named ‘usermarcro.lua’ (or something like it). But all did not go well: I cannot find such a file - anywhere. Now Alexander’s article is 4 years old so I guess things have changed. So I have two questions…
- Where should I look for the file?
- Are there more up-to-date and practically useful documents that I should refer to instead?