konani 0 Posted May 2, 2010 (edited) Hi all,How I can find X, Y position of "COUNTRY" text in Internet Explorer in all following case?Some case:1. <label id="lbCountry">COUNTRY</label>2. <html><body><br/><br/> Your COUNTRY is USA <p></body></html>3. <html><body><p><p> Your <span class="mandatory">COUNTRY</span> is USA <p></body></html>Thanks in advance, Edited May 2, 2010 by konani Share this post Link to post Share on other sites
DW1 102 Posted May 2, 2010 What do you mean by X and Y? What is the goal here? To Click it? AutoIt3 Online Help Share this post Link to post Share on other sites
konani 0 Posted May 2, 2010 What do you mean by X and Y? What is the goal here? To Click it?X and Y are position of text when IE run. Position of text always change. I need determine X, Y position for play a function. Share this post Link to post Share on other sites
tobject 0 Posted May 2, 2010 Assuming you have IE object $MyHtml=_IEBodyReadHTML($oIE); $Position=StringInStr($MyHtml,"COUNTRY"); or use _IEBodyReadText($oIE) for text only Share this post Link to post Share on other sites