@BobCat This could be one way
const var Samplers = [Synth.getSampler("Sampler1"),
Synth.getSampler("Sampler2"),
Synth.getSampler("Sampler3")];
// Assuming you samplemaps are in order (sm_1, sm_2, sm_3, sm_a, sm_b, sm_c)
const var allMaps = Sampler.getSampleMapList();
inline function onComboBox1Control(component, value)
{
local offset = (value-1) * 3;
for (i=0; i<3; i++)
{
local sm = allMaps[i + offset];
Samplers[i].loadSampleMap(sm);
}
};
Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);