I use a matrix to switch visibility in Cubase.
It works, but i have
So... what is 'invalid' there ?
props.target = 'midi:OSC'
props.script= `
if(get('switch_AFFICHAGE')==1)
{
if(value) { send('/control',10,25+getIndex('this'),127);} //Masque Dossiers
else { send('/control',10, getIndex('this'),127);} //Affiche Dossiers
}
else if(get('switch_AFFICHAGE')==2)
{ set('VisiRep_*',1,{sync:false}); send('/control',10,68+getIndex('this'),127); }
`