Am I wrong with the code to delete all markers?
while (!markerEnum.atEnd()) {
Vegas.Project.Markers.Remove(Marker(markerEnum.item()));
markerEnum.moveNext();
}
I have about 600 Markers to delete. Every time I run the script there are only a few deletet. So I have to run the script several times to get all deleted.
Can someone give me a hint?
Thank you in advance,
Wolfgang
while (!markerEnum.atEnd()) {
Vegas.Project.Markers.Remove(Marker(markerEnum.item()));
markerEnum.moveNext();
}
I have about 600 Markers to delete. Every time I run the script there are only a few deletet. So I have to run the script several times to get all deleted.
Can someone give me a hint?
Thank you in advance,
Wolfgang