Gseos.GetWindowSize
Previous  Top  Next

GetWindowSize(strTitle)

Get the window size of a GSEOS window. The window is located by the caption title on any desktop page. If the window can't be found raise the TWindowNotFoundError exception.

ParameterDescription     
strTitleThe caption bar title. Not the entire title needs to be entered, any match on the first characters will suffice.      
Returns
wWidthThe width of the window.  
wHeightThe height of the window.  

Example
Get the size of the GSEOS screen window TLM:

>>> Gseos.GetWindowSize('TL')
(456, 300)

See Also
Gseos.GetWindowPos(), Gseos.WindowResize(), Gseos.WindowMove(), Gseos.WindowRestore()