Jump to content

Reading tooltips on customized control


VAG
 Share

Recommended Posts

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 <<<<
Title: 
Class: Afx:1d70000:8
Position: 297, 526
Size: 85, 19
Style: 0x94000000
ExStyle: 0x00000008
Handle: 0x004105D8

>>>> Control <<<<
Class: 
Instance: 
ClassnameNN: 
Advanced (Class): 
ID: 
Text: 
Position: 
Size: 
ControlClick Coords: 
Style: 
ExStyle: 
Handle: 0x0029022E

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

>>>> StatusBar <<<<

>>>> Visible Text <<<<


>>>> Hidden Text <<<<
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...