konani Posted May 2, 2010 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
DW1 Posted May 2, 2010 Posted May 2, 2010 What do you mean by X and Y? What is the goal here? To Click it? AutoIt3 Online Help
konani Posted May 2, 2010 Author 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.
tobject Posted May 2, 2010 Posted May 2, 2010 Assuming you have IE object $MyHtml=_IEBodyReadHTML($oIE); $Position=StringInStr($MyHtml,"COUNTRY"); or use _IEBodyReadText($oIE) for text only
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now