Most of the discussion regarding plugin development happens here https://musescore.org/en/forum/443
lasconic 2015-09-13 1:00 GMT+02:00 dangby <daniel.gibby+musesc...@gmail.com>: > I figured it would be something like this to insert a measure at the > beginning of the score, but I'm missing something and it isn't working. > var cursor = curScore.newCursor(); > cursor.rewind(0) // beginning of score > // curScore.startCmd(); // unnecessary? > var newMeasure = newElement(Element.MEASURE); > // what should go here so that the measure is actually added at > the current location? > // should the cmd function somehow be used? > curScore.endCmd(); // unnecessary? > > > > > -- > View this message in context: > http://dev-list.musescore.org/plugin-creation-tp7579515p7579516.html > Sent from the MuseScore Developer mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Mscore-developer mailing list > Mscore-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mscore-developer >
------------------------------------------------------------------------------
_______________________________________________ Mscore-developer mailing list Mscore-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mscore-developer