It is a style setting, I don't think those are accessible to plugins.
But maybe you can load a style file via a plugin? In that case more or less a one-liner.
Easiest it to use Format > Style > Save Style, then open the .mms file this createded with some plain text or XML editor.
Another option is to look them up in the source code, it is in libmscore/style.cpp, lines 65-1446 (here for 3.6.2)
Comments
It is a style setting, I don't think those are accessible to plugins.
But maybe you can load a style file via a plugin? In that case more or less a one-liner.
no-enableIndentOnFirstSystem.mss:
In reply to It is a style setting, I don… by Jojo-Schmitz
Style settings are accessible to plugins since 3.5 version, see https://musescore.github.io/MuseScore_PluginAPI_Docs/plugins/html/class…
The style setting in question can be changed from a plugin like this:
curScore.style.setValue("enableIndentationOnFirstSystem", false);
In reply to Style settings are… by dmitrio95
Ah, how could I have missed that.
In reply to Style settings are… by dmitrio95
Fantastic! Thanks a ton.
Where can one find a list of all the style values that can be programmed?
In reply to Fantastic! Thanks a ton… by avronp
Easiest it to use Format > Style > Save Style, then open the .mms file this createded with some plain text or XML editor.
Another option is to look them up in the source code, it is in libmscore/style.cpp, lines 65-1446 (here for 3.6.2)
In reply to Style settings are… by dmitrio95
Fantastic! Thanks a ton.
Where can one find a list of all the style values that can be programmed?