Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Panel window height & width: Getting and setting the dimensions

$
0
0

Setting

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

window.__adobe_cep__.resizeContent(YourCustomWidth,YourCustomHeight);

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

 

 

Getting

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.


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>