Forums > Max For Live

track ids and path live_set tracks x are not the same?

July 10, 2011 | 9:30 am

Hi,

I am getting a list of all track ids and then selecting certain tracks.

Using the id of each track I pass it to

path live_set tracks $1 (id of my track)

However, it seems that live_set tracks refers to position of the track, rather than the ID. Is there any way that I can select the track based on the ID of the track?

Cheers

N


July 10, 2011 | 9:39 am

no worries i found a way I used

M4L.api.GetSelectedTrackIndex

Cheers.

N



Jan
July 10, 2011 | 9:42 am

if you have the id of an element from the live-object-model you can pass it directly to [live.object]‘s right inlet. you don’t need to go via the [live.path ] to read the id again.

j.


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