Custom Window Move/Resize from JavaScript

Is there a way to define all these values via JavaScript completely? I’d like to run the script from my trigger without using this “default” action that I defined due to a need of setting custom height/width values per application and display type. Thanks!

I did look into Action JSON Definitions · GitBook but seems like there’s config missing. I’m not sure.

easiest way to get started is, configure a example via the UI, then use "Transform Selected Action(s) To JavaScript"

Ok, worked. Yeah, I guess it uses legacy config. Tnx!