It is very easy to create a script that can be used to apply processing templates to your spectra, as described in the following procedure.
The Whittaker smoother, a special case of penalized least square, is a multipurpose algorithm that has proven to be very useful in many scientific fields, including image processing, chromatography, and optical spectroscopy.