Can’t save Macros

I am trying to create a Macro (dashed slur as John did in Shortcuts and Scripting video tutorial). After clicking End Recording Macro a dialog window appears asking where I want to save the *.lua file. After choosing a folder and clicking Save the dialog window closes but the file is not saved there.
I would appreciate advice on what I’m doing wrong

I’m not sure what might be going wrong. Does it seem to make any difference if you choose a different destination folder, or choose a different filename for your script? On Windows in particular it would be worth avoiding any accented characters in the filename, as Lua is not fully Unicode on Windows.

Thank you, Daniel. I looked further into this issue and found the following behaviour:
• To save *.lua files I have to run Dorico as Administrator.
• I can only save *.lua files on the same partition of the hard drive where Dorico is installed.
• I don’t see macros listed at the top of the Script Menu, as in John’s tutorial. (I always have to go to the folder to select a different script.)