How can I access other text on the page (besides lyrics)?
I created a curly quotes plugin: https://musescore.org/en/project/curly-quotes
For now, it can only change lyric text. Is there a way to access any of the following types of text on the page using plugins?
* Title
* Subtitle
* Composer
* Lyricist
* Part Name
* System Text
* Staff Text
* Expression Text
* Rehearsal mark
* Instrument Change
* Tempo Marking
curScore.title and curScore.composer pull from File > Score Properties rather than the text on the page. The ObjectExplorer plugin can give details on these non-lyric text elements if I select them, but does not display them otherwise. Are these texts only available to plugins if the users selects them?
Comments
Tempo Markings at least are accessible too (check TempoStretch plugin for them)
In reply to Tempo Markings at least are… by jeetee
Thank you! Your example got me to all the note-attached text (System Text, Staff Text, etc.).
The main ones I'm missing now are frame text, title, subtitle composer, lyricist.
In reply to Thank you! Your example got… by David Bolton
AFAIK frame texts are only available via selection indeed.
See #337263: Feature: ability to change frame text via plugin API