TrackID in Ableton via API

    Jul 19 2017 | 9:01 pm
    Hey, i wanna have the TrackID from Ableton Live where my M4L patch is.
    I couldn't find a solution in the Track Abstractions:
    I know i can get the ID when the patcher is highlighted in Ableton Live (M4L.api.GetSelectedTrackIndex.maxpat), but i wanna call the id from another patcher via send/return from another Ableton Track. My problem is when i "call for" the ID from my "caller" patch, i just get the ID where the "caller" is inside, not the actual TrackID from the patch in another Track.
    I wanna jump from a remote-control patcher to all my patches inside Ableton Live, and therefore i need the Track ID from all my M4L patches.
    Hope someone understands the question..
    Thanks Markus

    • Jul 20 2017 | 12:45 am
      I found a solution. I store the TrackID on load (highlighted Track) in the patch, and pick the stored value up when i need it.
    • Jul 26 2017 | 12:37 am
      i found a proper solution for getting the right TrackID just for the record...