AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A handy use for Window Spy
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
planetthoughtful



Joined: 22 Feb 2006
Posts: 21

PostPosted: Sun Mar 05, 2006 1:14 pm    Post subject: A handy use for Window Spy Reply with quote

Hi All,

It may be this is a generally known tip etc, but I thought it was useful enough to pass along.

If you've installed an app or an addon / plugin that doesn't behave properly and puts up an error dialog, and you want to email the developer(s) about it, instead of painstakingly typing out the error message in your email (because you can't select and copy text in error dialogs - I've actually emailed Microsoft to suggest this in future OSes), fire up Window Spy and use it to grab the text from the dialog to copy and paste into your email.

May not save many all that much time, but has saved me from the annoyance of typing out error messages more than a couple of times.

Much warmth,

planetthoughtful
---
"Lost in thought"
http://www.planetthoughtful.org
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sun Mar 05, 2006 1:16 pm    Post subject: Reply with quote

You could also take a screenshot of the error message Razz
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
BoBo
Guest





PostPosted: Sun Mar 05, 2006 1:16 pm    Post subject: Reply with quote

In some cases a simple push of the Print-Button will capture the text of an error message to the clipboard - to be pasted to whatever target afterwards. Cool
Back to top
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sun Mar 05, 2006 1:17 pm    Post subject: Reply with quote

Cool, I never knew that..
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
planetthoughtful



Joined: 22 Feb 2006
Posts: 21

PostPosted: Sun Mar 05, 2006 1:23 pm    Post subject: Reply with quote

Titan wrote:
You could also take a screenshot of the error message Razz


Not a bad suggestion, but where the developer just has a web site form as a contact method, may not be the desired solution.

Much warmth,

planetthoughtful
---
"Lost in thought"
http://www.planetthoughtful.org
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sun Mar 05, 2006 4:35 pm    Post subject: Reply with quote

The screenshot is quite heavy, even more as most users doesn't know that they should reduce the number of colors to avoid to send million of colors uncompressed bitmats (often inserted in a Word document because they don't know what to make to the copy...).

Note that the content of most system made message boxes (like those produced by AHK's MsgBox) can be copied with a simple Ctrl+C. A trick that Chris gives in the MsgBox manual page.

BoBo, are you sure of the trick you gave? It doesn't work for Win98. Neither my Ctrl+C one...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
planetthoughtful



Joined: 22 Feb 2006
Posts: 21

PostPosted: Sun Mar 05, 2006 4:43 pm    Post subject: Reply with quote

Ah! That's even better! Damnit, I can't believe I've lived this long as a so-called 'computer expert' without knowing that tip!

Mamma would not be proud.

Much warmth,

planetthoughtful
---
"Lost in thought"
http://www.planetthoughtful.org
Back to top
View user's profile Send private message
ParanoidX



Joined: 16 Dec 2005
Posts: 149
Location: Australia

PostPosted: Sat Jun 10, 2006 4:29 am    Post subject: Reply with quote

Quote:

You could also take a screenshot of the error message


@BoBo, I tried it with a couple of dialogs etc.. but I can't get it to work. Could you tell me which app/error msg/dialog you got it to grab the text from Prnt-Scrn?

I am simply curious at how the internal function works esp under what condition before the text is captured.
_________________

546F206C69766520
6973204368726973742C0D746F2064696520
6973206761696E2E0D285068696C20313A323129
Back to top
View user's profile Send private message
andrewjohn81



Joined: 13 Jun 2006
Posts: 1

PostPosted: Tue Jun 13, 2006 9:15 pm    Post subject: Reply with quote

A nice little known shortcut is
Alt+PrintScreen

This will only capture the currently active window.

Print screen is a big waste for me because it captures 3200x1200 (2 monitors). When I learned of this shortcut I was extremely happy.

It doesn't always work for "sub-windows" or floating windows within an app.
Back to top
View user's profile Send private message AIM Address
TheIrishThug



Joined: 19 Mar 2006
Posts: 370

PostPosted: Tue Jun 13, 2006 9:28 pm    Post subject: Reply with quote

andrewjohn81 wrote:
A nice little known shortcut is
Alt+PrintScreen

On another forum, there was a thread where a decent number of people learned of the existance of Alt+PrintScreen.
There was also a decent number of people that hadn't know that you could use PrintScreen on it's own to without pressing Alt.
Back to top
View user's profile Send private message Visit poster's website AIM Address
danthecardman



Joined: 23 Oct 2007
Posts: 3
Location: wyoming

PostPosted: Tue Oct 23, 2007 3:32 am    Post subject: How to Copy an Error Message Reply with quote

I got this tip out of CPU magazine. Whenever you get that error message dialog box, all you have to do is CTRL+C; then open any word processor and CTRL+V (no print screen hassle). However if you want a good free print screen tool that I use all the time, try Gadwin Print Screen.
Back to top
View user's profile Send private message Send e-mail
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Tue Oct 23, 2007 9:12 am    Post subject: Reply with quote

Ctrl-C works for standard dialogs very well.
But there are some they don't accept this. In most of this cases AU3-Spy can catch the text very well.
For all other dialogs I'm using FastStone Capture (free for non-commercial usage).
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
tonne



Joined: 06 Jun 2006
Posts: 1163
Location: Denmark

PostPosted: Tue Oct 23, 2007 10:00 am    Post subject: Reply with quote

FastStone Captura is no longer freeware...
_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir
Back to top
View user's profile Send private message
Alan Stancliff



Joined: 25 Mar 2007
Posts: 35
Location: northwest USA

PostPosted: Wed Oct 24, 2007 8:49 am    Post subject: Reply with quote

tonne wrote:
FastStone Captura is no longer freeware...


Here's how to save a very small-sized GIF of the dialog box with no extra software and with very little time and effort.
  1. Do a print screen. This copies your monitor content, including an image of the text message into the clipboard
  2. Open PAINT, the little utility present in every version of Windows
  3. Paste contents of clipboard into PAINT (<ctrl><v>). Paint automatically selects the entire image, and the select button is activated.
  4. Click the ERASE key. One clunky think about PAINT is that pasting something into a new document screen automatically selects the entire image and activates the SELECT tool by default. You want to deselect the image and activate the SELECT tool anew.
  5. So click the SELECT tool again and select just the portion of the image with the text message.
  6. Hit <ctrl><c>, copying just the part of the image with the text message to the clipboard.
  7. Go to FILE, click NEW. Click NO if prompted to save image. You will have a new blank PAINT document.
  8. Click on IMAGE, then ATTRIBUTES. A dialog will open asking what size the new image is. Put in a size much smaller than you need. Putting in 10 and 10 pixels will probably work.
  9. Paste with <ctrl><v>. The screen enlarges to accommodate the new picture size. If prompted with message asking if you want to enlarge screen to accommodate message, say YES.
  10. Click SAVE AS and save as GIF.

That will get you a pretty small file with no extra software needed
_________________
Regards,

Alan Stancliff
My Web Site
Back to top
View user's profile Send private message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Wed Oct 24, 2007 12:21 pm    Post subject: Reply with quote

tonne wrote:
FastStone Captura is no longer freeware...
Oh, I didn't have a look at this. But you are right. Latest version is time-limited shareware Sad

So I'll try PrintScreen too. I do still have the setups for FSC, but I'm open-minded Smile

Edit: The Gadwin PrintScreen-Utility has one nice feature I really like. If you set the capture-mode to rectangle area you can move the border after drawing it. You have to submit the capture with the right-mouse-button.
I've often to capture something exactly and also with preview it is often hard to do it exact at one pixel.
But FS ist still my favorite, because of it's higher feature-set. I can send my last free setup to interested parties (some 4.x-version, actual is 5.x).

Thalon
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group