open a 4.x score with MU3.7
I'm trying to open a MU4.x score with the API and MU3.7:
onRun: {
var thisScore = readScore("D:\\Misc\\temp\\HelloMU3.mscz", false);
console.log(thisScore.title);
var thisScore = readScore("D:\\Misc\\temp\\HelloMU4.mscz", false);
console.log(thisScore.title);
}
}
And it fails.
If I set the interactive
flag to true, MU popups a warning that the score is a MU4.x score. If I click on Ignore, the score is processed as accepted.
If I set the interactive
flag to false, the score is not opened.
So "interactive=false" ≡ "stop opening the score if any warning".
Is this the expected behaviour ?
How could I, in non-interactive mode, force the score opening despite the warning ?
Comments
There is a a 'force' option, -f or --force, not sure wether and how it could get set from within a plugin