Save viewport to file not working

I can not get ‘Save Viewport to File’ to work in Rhino 6 SR29 - Turns red when the button is pressed.

You have to supply a filename in the filepath, not just a folder location. try putting “\capture.png” at the end of your file path.

Couldn’t you emit a message to that effect in addition to just turning it red?

Thanks, I removed ‘file path’ and added a ‘panel’ with the file path. I had made the assumption it would add a generic file name and index it each time an image was captured.