Gseos.GetWindowPos
Previous  Top  Next

GetWindowPos(strTitle)

Get the window position 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
wX, wYThe coordinates of the window.  

Example
Get the coordinates of the GSEOS screen window TLM:

>>> Gseos.GetWindowPos('TL')
(148, 89)

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