Does anyone know how to open a window that's a particular size and centers it on the screen?

I can't get it working.

Thanks