Sign in to follow this  
Followers 0

Reading tooltips on customized control

2 posts in this topic

I am writing a test script to read the tooltip of a customized control on a GUI application. I have tired to use WinList("[class:tooltips_class32]") method to read but with no success. The I tried to Winlist("[class:Afx1d70000:8]") as given from Window Info. The window is detected but no string return from the WinGetTitle() or WinGetText(). I have also tried to use _WinAPI_EnumWindows() also no return on Title and Text.

Should I use Tesseract.au3 to OCR it out?

Note: I don't have access to the application as it's not written by me.

Note: I also notice the tooltip's [Class] and [Handle] keeps on changing.

WinInfo of tooltip:

Posted Image

>>>> Window <<<<
Class: Afx:1d70000:8
Position: 297, 526
Size: 85, 19
Style: 0x94000000
ExStyle: 0x00000008
Handle: 0x004105D8

>>>> Control <<<<
Advanced (Class): 
ControlClick Coords: 
Handle: 0x0029022E

>>>> Mouse <<<<
Position: 537, 434
Cursor ID: 2
Color: 0xFFFFE1

>>>> StatusBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

Share this post

Link to post
Share on other sites

Any suggestions?

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