How to query a Live track number or name?

bob.ostertag@mac.com's icon

anyone know how to query track numbers in Max for Live?

For example, say I want to use the same Max patch in several Live tracks, and I want to use the Live track number as an argument in the Max patch, so that Max objects with argument that is a variable which refers to the track number each get an argument unique to the track in which they are located.

How do I do that?

thanks!

bob.ostertag@mac.com's icon

Replying to my own post, found it elsewhere in the forum. patch below. thanks everyone!

Max Patch
Copy patch and select New From Clipboard in Max.