Detect selection change ?
Hi,
I wonder how would you do to detect that a selection has changed between two calls of the same script.
I'd like to detect a selection change in the arrange view (are the same items/takes selected ?).
When the MIDI view is opened I would better like to detect if the same notes are selected ? (for this one, I can store all previously selected notes in an array and compare, but it's brutal, so maybe you'll think about another lighter solution ?)
|