not understanding highlighted slot

1.80K viewsCSS Questions
0

hi, i have an encoder that scroll through tracks and one that scroll through scene, so I can highlight any clip, I like to be able to create a clip if that clip slot is empty or launch the clip if there is a clip in that slot.
I tried that:
button 81 was pressed as listener
condition1:
self.song().view.selected_track.clip_slots[0].has_clip == True
action1
self.song().view.highlighted_clip_slot.fire(4, 1)

condition 2
self.song().view.highlighted_clip_slot.has_clip == False
action 2
self.song().view.highlighted_clip_slot.fire(4.0, 1)

but with this it always act on the first clip of the first track on first scene.
do you know what I m missing?

admin Changed status to publish
Attached Files:
0

Make sure to periodically clear the log – if you’re continuously outputting to the log, keep an eye on the file size (next to the clear log button).
Also, turn off ‘MIDI learn’ if you’re not using it.

admin Changed status to publish
Attached Files:
You are viewing 1 out of 4 answers, click here to view all answers.