version 13.
I've added these lines just before try { int iPreset in the hopes of generating markers for the rest of the script to use.
SfAudioSelection frange = new SfAudioSelection(0, app.CurrentFile.Length); file.DoEffect("Process.AutoTrimCrop", "ANSWER01", frange, EffectOptions.EffectOnly | EffectOptions.WaitForDoneOrCancel);
however, nothing happens. I've tried preselecting the entire file, but still the only thing that shows is a message that there are no markers.
If I run auto trim prior, then the 'save regions' script works fine. I've looked and looked and tried to borrow from other scripts; I can't get it to work.
What am I missing, here?