M4L : Get tracks contained in a group ?

chapelier fou's icon

I'd like to make a device that observes the "solo" state of a Group, and solo all the tracks contained in the group according to this state.
I can't find a decent way to get the ids of the tracks contained in a group.
Any ideas ?

double_UG's icon

I use this
https://maxforlive.com/library/device/3447/solo-safe

chapelier fou's icon

Well, this automatically set solo for the track containing the device whenever another track is soloed, doesn't it ?
That's not what I'm looking for.
I want to solo the tracks that are in the same group only.