Function Reference

_FFGetPosition

Returns an array with the position of an element and/or the position and size of the FireFox content area, relative to the client area of the window

#Include <FF.au3>
_FFGetPosition([$sElement = ""])

 

Parameters

$sElement Optional: Element oder Objekt

 

Return Value

Success: Returns $array[n][n] with the following informations:

0X position of the element (relative to the document)
1Y position of the element (relative to the document)
2X position of the content area (relative to the window client)
3Y position of the content area (relative to the window client)
4width of the content area
5height of the content area
Failure: Returns empty string and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
4 ($_FF_ERROR_InvalidValue)
8 ($_FF_ERROR_NoMatch)

 

Remarks



 

Related

 

Example