Hi Rico, no problem - the issue is the script code was getting the image filename from the current model filename, which gets set when doing a "SaveAs" but not with "Export".
Also I ran into a problem where the file dialog could get captured in the screenshot as well. Please try the attached versions and see if these work ok for you.
Ohh Micheal, thank you for taking the time! I can only imagine how busy you are.
Happy to say it's working perfectly, and already I can see how much frustration that's going to save. Much, much appreciated.