2 Replies Latest reply on Apr 22, 2017 7:26 AM by Premiopolis

    Panel window height & width: Getting and setting the dimensions

    Premiopolis Level 2


      In custom panels for Photoshop, Illustrator, and InDesign it's possible to dynamically set the panel window size with the following command:


      Not so, it seems, for Premiere Pro, After Effects, and Audition.




      window.innerWidth and window.innerHeight seem to work reliably in JS context for

      After Effects, Audition, Photoshop, Illustrator, and InDesign, but not reliably for Premiere.  The innerHeight seems to get jammed at 800.