Delete a object use Script

Hi~ I want to delete all the markers, I try to use deleteobject, but it seemed not work.

Thanks in advance!

I’ve been able to successfully delete all markers from a logic track using the following method:

event = studio.window.browserCurrent();
markers = event.markerTracks[0].markers;
markers.forEach(function(mark) {
1 Like