AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages.
Hak5 has a segment where they create a
"Clip Logger" that saves the clipboard of a user to a log file. Their demo is targeted towards users that have exotic passwords but copy and paste them.
AutoIt is an incredible tool. I have started using and created an executable that obtains IP info and another that saves screen captures to a folder.