How to capture drop-down, checkbox and radio selected text? [closed]

var text = System.Windows.Forms.Clipboard.GetText(); 
Clipboard.SetText(text);

Will turn the rich text on the clipboard into plain text.

On every machine I use I keep a batch file, calld text.bat on my path which does this to the clipboard contents, so I can press Win+R then type text and convert my clipboard contents to plain text.

Leave a Comment