If I hide tracks (ie not expand them in a group) and use M4L.api.GetSelectedTrackIndex to get the index of the currently selected track (by id), it gives me the wrong number/index.
Is there any way to get M4L.api.GetSelectedTrackIndex to cater for all tracks? Even hidden grouped ones?
Or is there another way to get the currently selected track number, to use in live.path?