problem with hidden group tracks using M4L.api.GetSelectedTrackIndex

    Apr 04 2013 | 2:16 pm
    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?

    • Apr 04 2013 | 2:24 pm
      ok, i got it, it was "get visible_tracks" instead of just tracks.