How to retain/restore window sizes when (un)docking laptop

packman

New member
Local time
9:58 PM
Messages
11
I'm not sure if this is possible, but it sure would be useful if so. I haven't been able to find info on it.

I regularly switch my laptop between being docked and undocked. Each has different screen resolutions:
- docked: 1920x1080
- undocked: 1366x768

I like to have all my windows nearly full screen, but not actually in full-screen mode.

When I undock, all the windows shrink to fit the new resolution. No problem. However when I re-dock, they don't expand to their previous size - they stay smaller, and I have to manually re-size each one bigger. (I often have very many windows open, so this is a pain)

Is there any method to have windows re-size larger again? Perhaps either:
- some command line command to resize all windows to a given size, or
- (if possible) have Windows understand two display modes, keep track of each currently-open window's screen size in both modes, and then restore the previous size when changing back to the mode in which the window was opened
- some other solution?

Thanks.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32 bit
OS
Windows 7 Home Premium 32 bit

My Computer My Computer

At a glance

Win-7-Pro64bit 7-H-Prem-64biti7-5930K 2nd i9-9940x both water blocked VRM'...Trident-z 3200C14 2nd Trident-z 3600C16EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads
Thanks.

Problems with that are:
- Snap maximize the windows - I don't want them maximized however - I just want them restored to customized sizes and positions, e.g., with some desktop exposed, and with the ability to have say some smaller windows - say I'm doing some input in one window while monitoring something in another window or two.
- That still requires manual action for every window. I'm wondering there's some way I can do say all 12 windows with one actions
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32 bit
OS
Windows 7 Home Premium 32 bit
Hi,
As long as aspect ratio is enabled ?
This isn't the best quality image but just follow the numbers and confirm the settings are enabled :/
resolution-500-rightclick%201.jpg

resolution-500-maintain-aspect-r%201.jpg
 

My Computer My Computer

At a glance

Win-7-Pro64bit 7-H-Prem-64biti7-5930K 2nd i9-9940x both water blocked VRM'...Trident-z 3200C14 2nd Trident-z 3600C16EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads
Hmm - well I have a different display driver than that. (I'm using Windows Enterprise 7 with some custom stuff) I do have the "Graphics Options" menu item, but it doesn't have the "Output To" menu. However you've given me some stuff to look for in my video control panels (I see an NVIDIA control panel, as well as an nView Properties control panel that have some options). Will play around and see ...
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32 bit
OS
Windows 7 Home Premium 32 bit
Something to try

I had a similar problem. If I cascaded a dozen explorer windows, 7 would make them all a size it liked (and I didn't). I couldn't find a good solution either. But assuming you have script privileges, you might adapt my kludge.

Grab a little utility called cmdow.exe. (Sorry, no link. But easy to find.)
I attached my little vbscript (disregard ugly coding). Pay special attention to the /T (visible in taskbar) switch and you can ignore fishing for explorer windows like I was. Also, get rid of the header row in the cmdow output.

Hope it helps
 

Attachments

My Computer My Computer

At a glance

Multiple
Computer type
PC/Desktop
OS
Multiple
Back
Top