Is there a way to resize plugin window via JS?

Tested and approved, this works perfectly! Luckily this feature is already available in the API, it was just hidden, this is essential in my projects. @indranil thanks for sharing, great support, and taking advantage of the fact that you have frequently visited this community, as soon as you can, visit this topic:Object: printOneCopy does not work from the UXP plugin and inform us there about the implementation of this feature. Thanks.