MuseScore Command Parser

Extends the usefulness of the cmd() function in plugins.

A huge number of UI commands are hidden behind the cmd() function. Sadly, this didn't seem to make its way into the documentation.

This library lets you script these commands, which can be read through FileIO.
Features:
- Command repetition (similar to nestable loops)
- Named macros (similar to subroutines)
- Substitution tokens
- Comments

Example:

# Split rests into quarter rests
.macro toTriplets
    triplet
    escape
    next-chord
    next-chord
    next-chord
.endm

.macro measureToTriplets
    .rep 2
        rest-4
        escape
        .rep 2
            .insertm toTriplets
        .endrep
    .endrep
.endm

.rep 
    .insertm measureToTriplets
.endrep

A full list of commands can be found here:
https://github.com/calculuswhiz/musescore-utils/blob/master/ValidComman…

Issue Tracker

API compatibility
3.x
Plugin categories
Other