Once upon a time, I wrote an application called Pasteboard Inspector. This is the ancient code...