1 Reply Latest reply on Dec 29, 2014 7:54 PM by philmodjunk

    Window resizing and center

    danlee

      Title

      Window resizing and center

      Post

      I already have a script that sets Windows [Adjust to Fit].  Is there any way to have the layout open where the windows open centered and also to where people cannot adjust the window size at all?  Right now when it opens up for first time it always opens up to the left of the screen.

      Thank you!

        • 1. Re: Window resizing and center
          philmodjunk

          and also to where people cannot adjust the window size at all?  

          If you use the New Window script command to open the window, there's an advanced window option for resize that you can disable to keep users from resizing the window.

          In the same script step, you can calculate the left and top position of the window to center it on your screen. For example if you use get (ScreenWidth) to get the width of the screen you can subtract the width of your window and divide by 2 to get the value to assign as the left boundary of the window in order to horizontally center the window.