0 Replies Latest reply on Oct 23, 2016 11:35 AM by Bill McLean

    Positioning and Sizing the app.activeWindow?

    Bill McLean Level 1

      I have an scriptUI modal dialog that I position to the top left corner of the screen. I extend the height of the dialog to the height of the screen.


      I make the active document window full size with the following code:


      var myMenuAction = app.menuActions.item("$ID/Consolidate All Windows");



      after turning off the application frame and controls.


      Setting the activeWindow bounds to the width of the dialog:


      app.activeWindow.bounds.left = 237;


      How to ensure that the main document window is sized and positioned?