Delete Current Highlighted Clip

832 viewsCSS Questions
0

How do I delete the clip that is currently selected? You guys had me do a reaction in the older version of .song().view.highlighted_clip_slot.delete_clip()
But I am not sure how to do that in the new version. The one that I tried kept moving the clip down a scene every time I used it.

Hellem Answered question June 21, 2024
Attached Files:
0

how can this

self.song().tracks[0].clip_slots[0]

be transformed into

self.song().tracks[0].clip_slots[highlighted]

?

Hellem Answered question June 21, 2024
0

self.view.highlighted_clip_slot.delete_clip()
this one deletes highlighted clip

)))))))))))))))))))))))))))))))))))))))))))

admin Changed status to publish May 22, 2024
Attached Files:
0

.song().view.highlighted_clip_slot.delete_clip()
this spoils the script and it can’t be loaded

self.song().tracks[0].clip_slots[0].delete_clip()
this one deletes 1 clip on 1st track

ableton 11.3.10

admin Changed status to publish May 22, 2024
Attached Files:
0

This will delete a clip.
self.song().tracks[0].clip_slots[0].delete_clip()
Or you can use the action: ‘live object model > clip slot > delete clip’

admin Changed status to publish May 22, 2024
Attached Files: