How to use "window.KeyboardMaestro.ResizeWindow"

Hi @mrpasini,

Thank you very much!
Your post let me see that the window resize function may be triggered by an external trigger, such as a click of the resize button.

Inspired by your post, I added a "keydown" event listener function and use KM to simulate keystroke to trigger it. This meets all my needs. The HTML prompt window will resize immediately after opening.

Thanks a lot!!!