In Windows sometimes I get an error dialog with long text. Is there a tool which can copy the displayed text?

link|improve this question

55% accept rate
feedback

5 Answers

Try just hitting Ctrl+C while the dialog has focus. If it is a normal modal Windows message box, it will put the text in the dialog in the clipboard for you.

The copied text should look something like this:

---------------------------
Window Title
---------------------------
The dialog box main text
---------------------------
OK   
---------------------------
link|improve this answer
1  
"If" is the important word here! Windows 7 is better than Vista is better than XP for this it seems. – outsideblasts Apr 12 '10 at 21:13
feedback

If you have OneNote, you can take a screen clip, then right-click the pasted image (in OneNote) and select "Copy Text from Picture".

I usually have success with it. Sometimes I need to do a little editing though.

link|improve this answer
feedback

You could also take a screenshot...press 'Print Screen' then paste the image into Paint...

link|improve this answer
1  
You get a bitmap of the message box. Actually of the whole screen. At least ALT+PrintScreen captures only the active window. But even the, you don't have only the text in the clipboard. – Snark Apr 13 '10 at 6:59
I need the text itself. Not an image of it. – Tony_Henrich Oct 4 '11 at 19:30
Why the downvote? I simply stated the obvious. – studiohack Oct 4 '11 at 21:36
feedback

A bit of an old question, but here is a different solution:

For windows that don't natively support Ctrl+C, there are several utilities which will poke around all current processes and let you pull the text from standard window objects (listboxes, comboboxes, etc.)

I used one years ago that worked well, but can't remember the name of it. Here's another I just found by doing a quick search:

http://www.nirsoft.net/utils/sysexp.html

link|improve this answer
feedback

For dialogs and controls that don’t have a copy ability built-in, I prefer to use WinSpy++ to capture the raw text. (You simply use the picker-tool to select the window/control in question and then copy the text from the caption field.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.