You could event-check if the clipboard has changed each time the application or window is brought to the foreground.