Oops – I had already discussed this problem in a different thread, but then I have forgotten to also report it in this thread. In the linked thread, I have also posted a (very bare-bones) replacement script for this one, in case anyone is interested in using or extending it.
2 Likes