As ever, thank you Dave.? It must have been a sheer fluke that I had the Script Output window open when I ran things the first time!
I sahll now progress to trying an amendment or two to get the output I want, and then find out how to put it into a named file.