Is there a way to resize a window to specific sizes (eg.800x600, 1024x768..)?
I need a way to resize any window (not just Firefox!) to specific sizes.
I need to check what the application I'm writing looks like at these resolutions - how many columns are visible in grids, that sort of thing.
I know I could just change my resolution, but that's a hassle, especially for 800x600 - desktop icons get smooshed together and stuff.
Check out Sizer ...
Sizer is a tiny freeware utility that gives you an easy and fast way to resize any window to an exact size. It could be a very useful tool for webmasters and web designers.
You could write your own with AutoHotkey:
#=:: ; [Win]+[=]
WinGet, window, ID, A
InputBox, width, Resize, Width:, , 140, 130
InputBox, height, Resize, Height:, , 140, 130
WinMove, ahk_id %window%, , , , width, height
return
Demonstration:
Before: 640 x 480
-
Press Win+=.
-
Enter a width:
-
Enter a height:
After: 400 x 300
Note: To set a length to
0
, you have to input0
. An empty value is ignored. For example, if you only want to resize the height, leave the width blank and enter a value for the height.
For the curious: 0 x 0
As you can see, a window with a title bar and controls has an absolute minimum size.
I suggest WinSize2.
- Simple, fast, and easy to manage by using Alt++ And Alt+- keys to increase/decrease the size of the current window.
- Working on any Windows version, or at least I have tested it on Windows XP, 7 and 8.
- Free Software.