Somebody said Tools > Nyquist Plugin Installer “knows” how to get rid of the .txt that some computers insist on appending to nyquist download filenames.
Is this a fact and how far back in Audacity history does that go?
Koz
Somebody said Tools > Nyquist Plugin Installer “knows” how to get rid of the .txt that some computers insist on appending to nyquist download filenames.
Is this a fact and how far back in Audacity history does that go?
Koz
That would have been me.
It goes back to when it was first shipped with Audacity. 21st Mar 2019, Version 2.3.1
;If string ends in ".ny.txt", replace with ".ny"
(defun fix-ext (fname)
(setf ln (length fname))
(if (and (> ln 7)
(string-equal (subseq fname (- ln 7) ln) ".ny.txt"))
(subseq fname 0 (- ln 4))
fname))