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.
Yep, that's as per the CEP "cookbook" ... it's not supported.
Changing modal and modeless extension content size is supported in all Adobe applications that supports CEP. However, changing panel HTML extension size is not supported in Premiere Pro, Prelude, After Effects and Audition.
Is there a benefit or logic to that? Would seem helpful to have consistency / increased functionality across apps. Thanks for the reply.