OSC to Resolume: multiple values for first argument

dotrec's icon

I'm using max to trigger video in Resolume. To select and play a clip, it takes this OSC message:

/layer1/clip1/connect 1

To trigger multiple clips (on several layers in the same column) at the same time I am now sending individual messages:

/layer1/clip1/connect 1
/layer2/clip1/connect 1
/layer4/clip1/connect 1

To make this more efficient, is it possible to send only one OSC message with a list of values for the layer argument?

As in /layer[1 2 4]/clip1/connect 1

What is the correct way to do this?

Thanks

mzed's icon

It should read: ```/layer[124]/clip1/connect 1```

Like:

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