Determining window size in Python

Sure, just get a handle to the window like this:

win = fpmi.gui.getWindow('MyWindow')

and then get the size params like this:

x = win.location.x y = win.location.y width = win.size.width height = win.size.height