Thanks, I have a running finction that place windows in center of screen, but I want it to have heigth = 1400, and width = 2000, when I try this DP crashes:
//SetSizeAndLocation(IntPtr windowHandle, int x, int y, int width, int height);
You can set the specified width/height in a custom function as well, but if you need it done via a scripted function, you can cut out the variables you're declaring inside the brackets. It should look like this: