Screen capture window only

Hi

I am looking for an applescript that will take a screen shot of a quicktime movie from quicktime player and put that image into the clipboard.

Thanks

Google is your friend.