problem with hidden group tracks using M4L.api.GetSelectedTrackIndex

Apr 4, 2013 at 2:16pm

problem with hidden group tracks using M4L.api.GetSelectedTrackIndex

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

#67528
Apr 4, 2013 at 2:24pm

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

Der!

#242989

You must be logged in to reply to this topic.