Add macro facilities

• Dec 20, 2019 - 07:17
Reported version
3.3
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Add "register macro" facility, tracking your clicks and keyboard interactions.
Managing macros must allow to play them and to assign shortcut!
Lot of feature requests would get an answer by just doing his own macro with a shortcut.
Macros must be saved independent of score, in a macro file easily moved between users or pc.


Comments

This might potentially be based on a facility we already use for some of our automatic tests, see https://musescore.org/en/node/278278. This facility is somewhat limited though: it currently doesn't catch mouse clicks on a score and supports only a limited set of user actions: actions available via keyboard shortcuts (including most of toolbar buttons and menu entries), adding palette elements (not sure whether it works correctly for custom palettes), changing properties in inspector and switching between excerpts within one score. You should be able to test this facility in nightly builds (under Tools→Script Recorder) although it is intended to be used for creating automatic tests and thus will create a separate .mscx file with the current score state at the end of each script recording.