Thanks for the feedback, Arne. I’ll make a note of this need and perhaps add a command that can apply the colour property with a chosen colour in one go, as you’d then be able to add a custom key command (by hand) to the JSON key commands file.
An alternative method that requires a bit of setup effort but hopefully little after that is to create a custom notehead set with red noteheads, save it as default, assign a key command for applying it to selected notes - and then use wherever needed!
If you do do that, be aware of the note in step 7 of that linked topic - editing a notehead that appears in multiple notehead sets affects its appearance in all sets, so make sure you’ve added new noteheads that only appear in your custom notehead set.
No, sorry. The json hack is just for adding a shortcut for a specific color, although you could certainly assign different shortcuts for different colors. Leo made a good walkthrough on how to do a json edit in this thread:
Is it possible to add JSON to make a keyboard shortcut to set the alpha transparency to zero? I use this constantly to make blank noteheads, and the steps to do this with the colour dialog rapidly become very tiresome. [And no, don’t start on making a blank notehead set - after a week of effort in that I totally corrupted and destroyed not only my project but Dorico as well, incredible and impossible though that sounds!!]
I might be wrong, but the name of your file strikes me : my keycommands files have a “_fr” after keycommands (because I use a French keyboard layout". And all my shortcuts are in my user library (which should not require admin rights, unless I am mistaken). Are you hacking the app’s file instead of the user file? That could be a problem when Dorico gets updated.