(If there is some tool that does it, that'll do as well, but I couldn't find one thus far.)
Background:
What I'm trying to write: a little tool that monitors the clipboard, and shows the contents. If the user clicks a button it will replace the contents with a reformatted version.
Purpose: I often have to convert between different text formats, and no longer want to do so by hand
Data: text (I might have to support unicode, dunno' yet, but I primarily want to support regular text, bold, and italics. It's fine to strip anything else, although centered is a nice-to-have. I certainly DON'T want styles.)
Principle:
1. Detect a clipboard update
2. Check for text and html versions of the data (I could dig into RTF but it seems all regular programs also set a HTML block, which is good enough for me right now... thus far)
3. Grab and simplify and show the data
4. User clicks any of the formatting options
5. Data is reformatted
6. Data is returned to the clipboard
I think I can do most of the above, I just need some good ways to show the data, and especially return the data to the clipboard.

