after several updates and some twicking in the code, I have added a new article in my blog about the script I am currently using:
https://observatoire-belle-etoile.blogs ... ectra.html
I have almost 35000 orders in BeSS (more than 1500 Halpha spectra), 14000 were taken with a script in PRISM...

Feel free to use the script for your own private use; I got lot of help from others when writing it (special thanks to Alain M, Thierry L and Stéphane C !).
Cordialement,
Olivier T.