Sign in to follow this  
Followers 0
BigDaddyO

AutoIT equivalent to HP UFT GetTextLocation?

4 posts in this topic

#1 ·  Posted

In the HP UFT automation tool, there is a function called TextUtil.GetTextLocation that I can use to find the exact x,y location of text inside a control. HP Help Doc

I'm wondering if there is something similar to this in AutoIT?  I have looked at OCR and Tesseract and they all seem to just give me the location inside the string of text on a control instead of Coordinates.  

Currently I'm using UFT as a driver script to get the location of the text and passing that to my AutoIT script as a command-line parameter in order to Redact that strings location, then take a screenshot.  I'd much prefer to do this all in AutoIT.

 

Thanks,

Mike


Share this post


Link to post
Share on other sites



#4 ·  Posted

What is the text in.  A control, a browser?  If you narrow down where to find it, it's easier to grab.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0