Deselect Hidden Staves

Version 01.07.00
Added 04 Apr 2011 (last updated 16 Apr 2023)

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

__This plugin removes from a passage selection any staves that are hidden __* by Focus on Staves (if Focus On Staves is active) __* by Hide Empty Staves (if all bars in that staff in the selection are so hidden) __It does not deal with instruments hidden by instrument changes. (*updated later to do so - see below) __Two interesting uses are: __1. Select only the visible staves in Focus On Staves so the other staves do not play back. __2. Prevent a paste that includes hidden staves (usually hidden by Hide Empty Staves) from copying the hidden staves, and thus unhiding the destination. __If there is no passage selection, the plugin selects the visible staves throughout the entire score. (*changed later) __Updated 17 July 2020. Version 01.05.00. Fairly big changes. __ If there is no selection, the full score in no longer selected - that was a bad idea in my view. Now a dialog comes up and allows you to change how to decide whether to exclude a staff when there is a mix of hidden and visible bars in the selection. The default now is to exclude the staff is the selection includes ANY hidden bars. This is discussed in Help. __The plugin will now exclude bars hidden by an instrument change to No Instrument Hidden, if the bars contain no visible objects, which covers hidden parts of ossia staves. __Updated 31 March 2023. Version 01.06.00. No feature changes. Restructured so it could be more easily called by other plugins. __Updated 15 March 2023. Version 01.07.00. Rewrote visibility tests to be much faster for large scores.

Plug-in written by Bob Zawalich.