impossiblerobot has asked for the wisdom of the Perl Monks concerning the following question:

Feebly asking for help:
I know that I can use Win32::Clipboard to monitor changes to the Windows clipboard, and get or set its content, even while my app is running in the background, as in this node.

However, I would like to be able to monitor when content is pasted from the clipboard. My guess is that there is some Win32 event or API that I could use to catch this, but the POD for Win32::Event, Win32::API, etc. are very terse, and I haven't been able to find any good examples of how to use them.

This is of course compounded by the fact that I am not a Windows programmer. :-)

Does anyone have any ideas? (I've even wondered if it was possible for Perl to intercept all keystrokes on the Windows system, to create a universal macro.)
Impossible Robot
  • Comment on Extending Win32::Clipboard (or using Win32::Event, etc.)