DMGberg Posted February 15, 2006 Report Share Posted February 15, 2006 I have a macro that resizes and repositions a window (window is maximized, hotkey -> take up 1/3 of screen, position top right). Two commands: resize, reposition. However, when I run it, if the window starts in a "maximized" state, the window state remains "maximized" as indicated by the double boxes in the top right of the title bar. So, to truly maximize it again I have to click that box twice - first it returns to its last "normal" size/position and then it's state is set to "normal" so if I click the single box it will maximize. There are commands for "window maximize" and "window minimize" but not for "normalize." So, is there a way to reset the state to "normal" when I reposition/resize from a maximized windown? -- Dan Quote Link to comment Share on other sites More sharing options...
DMGberg Posted February 15, 2006 Author Report Share Posted February 15, 2006 I figured it out. The answer is yes. Window restore Window resize Window reposition does it Might be a little inefficient because it momentarily reverts to its last "normal" position but heck, it works. Thanks for my help. -- Dan Quote Link to comment Share on other sites More sharing options...
floyd Posted February 16, 2006 Report Share Posted February 16, 2006 And to prevent the window flash or flicker while it is being moved and resized, you could hide it first and then show it afterwards using the Window Hide and Window Show commands. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.