Exporting PDFs in bulk?
I'm working on a musical, and I've got 35+ separate MuseScore files that contain the score for the show. Since it's under development, the charts change fairly often, and when they do, I need to export new PDFs for performers. I'd like to be able to automate deploying changed files, but I don't think there's currently any easy way to make MuseScore export a score "hands-free," as in, under script control. Since I'm on a Mac, I might be able to use the graphic interface scripting system to allow a script to click the various menu items and buttons and whatnot, but thought I'd see if anybody else had any other suggestions, or knew of some feature that I hadn't noticed yet.
I'd also be curious if there's broader interest in having that functionality added to MuseScore. I suspect a lot of people using MuseScore are reconstructing existing charts, or composing new individual pieces, so they're not likely to need to export a folder full of scores all at the same time. But I've been wrong before. :)
Comments
Use the command line to run a batch pdf conversion.
See:
https://musescore.org/en/handbook/4/command-line-usage
especially;
https://musescore.org/en/handbook/4/command-line-usage#Convert_a_score_…
and:
https://musescore.org/en/handbook/4/command-line-usage#Run_a_batch_job_…
In reply to Use the command line to run… by Jm6stringer
Does this really work? I cannot get it working it seems.
This was my command:
C:\Users\jobbr\Downloads>"c:\Program Files\MuseScore 4\bin\Musescore4" --export-to 'Franciscus - Het einde.mscz' 'c:\Users\jobbr\Donwloads\Het einde.mp3'
From a windows CMD window, it seems to produce nothing. Also it looks like not any calculations or processing is taking place. The command returns after half a second with nothing.
In reply to Does this really work? I… by Zebigbos
Wrong order of arguments, try
"C:\Program Files\MuseScore 4\bin\Musescore4" --export-to 'Franciscus - Het einde.mp3' 'c:\Users\jobbr\Donwloads\Het einde.mscz'
provided you have an mscz and want an mp3 (as MuseScore can't import mp3s the other syntax doesn't make any sense)
Or even easier via plugin:
https://musescore.org/en/project/batch-convert
In reply to Or even easier: https:/… by johngreen
Which doesn't yet work for Mu4...
Glory be. Yup, that'd be the solutions I'm looking for. I'll probably use the command line method, because I can embed that in code that will also rename the files and copy them onto a web server for access by the cast, but the plug-in's a lovely bit of work as well.