Thank you, Peter. Much appreciated. I also Googled extensively. No matter which way I searched, the outcomes were meagre. Hence my post here.
I went to the link you suggested, the basic principle is the one I am after. However, the limitations are huge. The script I had was adjustable in a very great many ways. Guess I have to keep on looking.