Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want know the size (width and height) in pixels of a window that an application has opened. What's the simplest/quickest way for me to get it? Without doing any programming.

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

This is an especially retarded way but this is what I used to do (it includes the Windows frame):

  1. Press ALT + PrtSc (Print screen)
  2. Open photoshop or fireworks and create new file

They usually default to the size of whats in your clipboard. You can probably do something similar with another program.

share|improve this answer
    
+1 A good way if you only want to do it occasionally. –  Nifle Aug 14 '10 at 9:32
    
Good answer. I would upvote it, if only I had 15 reputation. hint hint. :) –  D.H. Aug 14 '10 at 10:03
    
Works the same way using Gnome, Debian linux and Gimp. –  W_Whalley Aug 14 '10 at 11:28
1  
Alt+Prtsc, Win+r, "mspaint", crtl+v, ctrl+e. Keyboard only. No download necessary. You win. –  D.H. Aug 14 '10 at 21:43
add comment

You could use the free version of FastStone Capture to capture the window (Shift + PtintScr) which is then displayed in its editor with the size shown in the status bar...

alt text

share|improve this answer
add comment

If you use Linux, just start up any screen grabbing program (KSnapshot for example), select new snapshot to be a "selected region" and draw a rectangle with the mouse over a window. It show you the size of the region you marked.

If you want it more precisely or if you want to use a bash script to capture sizes, there are different methods depending on the DE you use and on the compositing manager (if any).

share|improve this answer
    
Thanks, but I'm using Windows Vista (see tag) –  D.H. Aug 14 '10 at 13:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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