Hello,
can someone help me quick,
if i have a switch in the same container i use follow script line to reset the multislider.
if (x) {MultiSlider7.x = range(sizeof(MultiSlider7.x), 0, 0
);
how i can set the project struktur in the script if i want to reset a multislider inside of a conatiner with a switch outside,
if (x) { Container.Tab, MultiSlider7.x = range(sizeof(MultiSlider7.x), 0, 0
);
thanks
Switch outside of Container,
Re: Switch outside of Container,
if (x) Container.MultiSlider7.x = range(sizeof(Container.MultiSlider7.x), 0, 0);
Tabs are not referenced in scripts - the object hierarchy is always "symbolized" with a dot.
A multislider in a Container in a contaiNer in a coNtainer is:
coNtainer.contaiNer.Container.multislider
Tabs are not referenced in scripts - the object hierarchy is always "symbolized" with a dot.
A multislider in a Container in a contaiNer in a coNtainer is:
coNtainer.contaiNer.Container.multislider
Last edited by Softcore on 05 Jun 2013 13:32, edited 1 time in total.
Re: Switch outside of Container,
Hello again,
i have a follow question,
i need to have bookmarks in my live arrangemt. that means i can trigger a pad and the live api jumps to that scene.
Live.Kontrol2 has following script line to jump to the playing clip when you press the track button.
my idea is to have the same function but just to jump with the view to a spezific scene.
if (SelectTab._enabled) {
if (x) {
Mixer.tid = firstof(x);
selectinterface(2);
decl objs = {Mixer1.Mute, Mixer2.Mute, Mixer3.Mute, Mixer4.Mute, Mixer5.Mute, Mixer6.Mute, Mixer7.Mute, Mixer8.Mute};
setattribute(Mixer.Mute, 'labels', getattribute(objs[firstof(x)], 'labels'));
setattribute(Mixer.Title, 'content', getattribute(getobject(), 'labels')[firstof(x)]);
midiout(0,{240,1,3,firstof(x),247});
}
;
} else {
midiout(0, {240,0,2,firstof(x),247});
;
}
possible to get this with the new Live.kontorl2 script ? it works perfekt with mu...
thanks
i have a follow question,
i need to have bookmarks in my live arrangemt. that means i can trigger a pad and the live api jumps to that scene.
Live.Kontrol2 has following script line to jump to the playing clip when you press the track button.
my idea is to have the same function but just to jump with the view to a spezific scene.
if (SelectTab._enabled) {
if (x) {
Mixer.tid = firstof(x);
selectinterface(2);
decl objs = {Mixer1.Mute, Mixer2.Mute, Mixer3.Mute, Mixer4.Mute, Mixer5.Mute, Mixer6.Mute, Mixer7.Mute, Mixer8.Mute};
setattribute(Mixer.Mute, 'labels', getattribute(objs[firstof(x)], 'labels'));
setattribute(Mixer.Title, 'content', getattribute(getobject(), 'labels')[firstof(x)]);
midiout(0,{240,1,3,firstof(x),247});
}
;
} else {
midiout(0, {240,0,2,firstof(x),247});
;
}
possible to get this with the new Live.kontorl2 script ? it works perfekt with mu...
thanks