Copy every Output to Clipboard

Hello,

i want Mathematica to always copy the last Output in InputForm.
So how can i run the CopyToClipboard function with every input?

Thank you.

I think setting the global variable $Post accordingly does what you want:

$Post = (CopyToClipboard[InputForm[#]]; #) &