How do I get the width and height of a window? Let's say I, an end user, open Chrome in a window, and then resize it. How can I, an end user, find out how large the window is now? Chrome is just an example; I am looking for how to do this with any application in a window.

Use the Snipping Tool to capture a screenshot of the window, and then look at the properties of the screenshot to see the dimensions of the window.

You could use a simple tool like WinSpy or the Window Spy tool included in the AutoHotKey package.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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