Forums > Max For Live

problem with hidden group tracks using M4L.api.GetSelectedTrackIndex

April 4, 2013 | 2:16 pm

Hi,

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?

Cheers

N


April 4, 2013 | 2:24 pm

ok, i got it, it was "get visible_tracks" instead of just tracks.

Der!


Viewing 2 posts - 1 through 2 (of 2 total)