IEGetTagPos


 

IEGetTagPos>IE_Reference,Frame,Tagname,Attrib,Value,Xpos,Ypos

 

Retrieves the screen X,Y position of the matching tag.

 

IE_Reference: The identifier of the instance to use. IE_Reference must be an identifier value returned by IECreate, IEGetFromURL or IEWaitNew.

 

Frame: The name of the frame containing the element

 

Tagname: The element's tag name (e.g. 'A', 'IMG', 'INPUT')

 

Attrib: the identifying attribute of the element e.g. innerText or ID. (TEXT can be used for innerText). Alternatively this can be INDEX to identify the element by 0-based numeric index where no unique attributes exist.

 

Value: the value of the given attribute.

 

Note that the position returned will be the top left position of the element. You may need to apply a small offset for a mouse over to be triggered.

 

See also: IE Functions

 

Example

 

IEGetTagPos>%IE[2]%,{""},{"A"},{"TEXT"},{"Home"},tagX,tagY

MouseMove>tagX,tagY