Create a image file from a printscreen

Author: ablancouribe@compuamerica.com.ve (bioalexy)

Hi, I want to know if there is a way to get from a printscreen the image stored in the clipboard and create and save the image in a directory? I tried pasting from the clipboard to an Picture Widget but was getting the "!format" image Any help is appreciated   Regards.