I want to create a special COPY command that will copy the text in an editor window, but then I want to get a hold of the HTML/RTF version on the clip and modify it and place it on the clip again as plain text.
for example, the following two keywords are colored in blue in the editor:
echo %1
pause
I copy that code and go somewhere that accepts a rich clipboard, and I paste it, I get:
<SPAN style="FONT-FAMILY: 'AUltraFontII'; FONT-SIZE: 5pt"><PRE><SPAN style="BACKGROUND: #000000; COLOR: #3e3eff">echo</SPAN><SPAN style="BACKGROUND: #000000; COLOR: #c4c4c4"> %1</SPAN>
<SPAN style="BACKGROUND: #000000; COLOR: #3e3eff">pause</SPAN></PRE></SPAN>
I want to do some modifications to the above markup and place it back on the clipboard as plain (but marked-up) text.
So is there a way to get a hold of that, or is it being generated in the accepting application?