Set all play counts = 1

 

// Enable all following items in the current Clip.
var nextItem = $context.currentItem.nextItem; while (nextItem != null) {
nextItem.setRepeat(nextItem.REPEAT_TIMING_SERIAL, nextItem.REPEAT_TYPE_COUNT_CONSTANT, 1, nextItem.REPEAT_DISTRIBUTION_CONSTANT, 0);
nextItem = nextItem.nextItem;
}