VAG Posted August 28, 2009 Posted August 28, 2009 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:>>>> 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 <<<<
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