Title

Message

Confirm

<< DiscussionsReply

Maximize Window Height

Avatar from Gravatar.com
Steve74048
3 discussion posts
Hi. Is there a way to maximize the window height while not changing the width of the window? What I'd like to be able to do is use the "Center Window Ignoring Splits (run again to restore position)" scripted function, but have the window height maximized. Thanks in advance.
14 days ago (modified 14 days ago)  • #1
Avatar from Gravatar.com
Owen Muhlethaler (BFS)
202 discussion posts
Hey Steve,

If you change the "windowBounds.Height" on line 48 to "monitorBounds.Height", that should work for you.

Thanks!
12 days ago  • #2
Avatar from Gravatar.com
Steve74048
3 discussion posts
Thanks so much Owen!

Should the line number be 58?
11 days ago (modified 11 days ago)  • #3
Avatar from Gravatar.com
Owen Muhlethaler (BFS)
202 discussion posts
Hey Steve,

I don't believe so. Right at the end of line 58, there's the windowBounds.Height in the brackets. If you change that to monitorBounds.height, that should do the trick for you.

Thanks!
7 days ago  • #4
Avatar from Gravatar.com
Steve74048
3 discussion posts
Thanks!
7 days ago  • #5
Was this helpful?    
<< DiscussionsReply