Consolidate Ossia Staves

Version 01.12.00
Added 22 Jan 2010 (last updated 22 Feb 2020)

For use with Sibelius 6, Sibelius 7.1, Sibelius 7.5, Sibelius 8.x, Sibelius 18.x, Sibelius 19.x, Sibelius 20.x, Sibelius 21.x, Sibelius 22.x, Sibelius 23.x, Sibelius 24.x and Sibelius 25.x

Looks for multiple ossia staves above or below a staff and copies the contents of the ossias into a single staff if possible. It then deletes any empty ossia staves.

Updated 9 April 2013 to fix a crashing bug and to handle empty ossias better. Also added dialog to allow tracing without consolidating.

Updated 4 February 2017 to again deal with empty ossias. Now empty bars (those with bar rests only) will always be hidden, and if a combined ossia staff is completely empty it will be deleted. This was always the intended design, but it was not completely implemented before.

Updated 13 May 2018. Fixed some bugs involving empty ossias. Also added option, on by default, to convert ossia bars that contain only rests to have bar rests, which allows these bars to be consolidated.

Plug-in written by Bob Zawalich.