Is there a way for a plugin to know which staff(s) is/are selected?

• Aug 21, 2022 - 12:29

In a plugin a selection is usually detected by:

cursor.rewind(1); // go to the beginning of the selection
cursor.rewind(2); // go to the end of the selection

But if I only select one staff in a piano score my plugin will affect notes in both staffs.

Is there a way for the plugin to know which staff(s) is/are selected?


Comments

Do you still have an unanswered question? Please log in first to post your question.