Is there a userscript for bulk-adding work parts to a parent Work?

Is there a userscript for bulk-adding work parts to a parent Work?

I find my self working on a Release of an opera, La Prophète, which is subdivided into work parts for each of the five Acts, but none of the Act parts is further subdivided into sub-parts according to the Number divisions of the vocal score at IMSLP.

What I would love is a userscript, to which I can give Work page and a text field with the title of each work-part on a separate line, and the script creates the appropriate Work entry for each: the work has that title, it has a part-of relationship to the parent Work, the parts are ordered as in the text field, and it replicates the Composer and Lyricist relationships of the parent work.

Does such a script exist? I did not see it in the Classical Editor Toolbox or in search results from this forum.

I don’t know of one. You can batch-add “part-of” from the release editor once you’ve linked the works there, of course, but that doesn’t automatically order the parts.

3 Likes