Jump to content

Window Adjustment


This topic is 4969 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have an issue where I cannot set the size of two Windows to what I want. When I adjust the second window then the first changes size. I have tried scripts steps Adjust Window and Resize Window and both affect the two windows and not just the selected window. Surely I have not found a bug !

Link to comment
Share on other sites

If you are on Vista as your profile indicates, you've encountered the dreaded Windows behavior. A window that is maximized will resize to its last adjusted size if another window is opened in front of it. The solution is to not use Maximize Window, but rather Adjust Resize to Fit.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 year later...

My tester manually maximized the window. I am running scripts in the background (hidden window), and then the window resizes. Tested on my Windows 7, not sure what the tester is using, but the result is the same.

What's an elegant way to solve this?

Link to comment
Share on other sites

So, her's what I ended up doing, but it's not the most elegant:

Two scripts that are appended to every script that opens windows in the background:

1. Store the window measurements (top, left, width and height)

2. Restore the window the previous measurements.

The widow jumps, though, before resizing back to the original.

Better than not resizing, though.

If anyone has a better idea, please let me know.

Link to comment
Share on other sites

This topic is 4969 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.