@rzrsharpeprod said in Set sample length via script:

Or did you mean for the reverse samplemap? That would work for that definitely.

Yes this. One sample map forward, one reversed. Auto trim the reversed one, two minutes of work.

Is it possible to do it via script or was I chasing an impossible task from the offset?

Yes it's possible, but it seems like more effort than it's worth.