Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
Alt+Prtsc, Win+r, "mspaint", crtl+v, ctrl+e. Keyboard only. No download necessary. You win. – D.H. Aug 14 '10 at 21:43

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .