AutID Posted May 24, 2013 Posted May 24, 2013 Hello, I am trying to get the text of a chat client but im having some problems. This is the summary of the autoit info tool on the item>>>> Window <<<< Title: Ran Client (4.1) Class: QWidget Position: 55, 41 Size: 1285, 781 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x00030488 >>>> Control <<<< Class: QWidget Instance: 43 ClassnameNN: QWidget43 Name: Advanced (Class): [CLASS:QWidget; INSTANCE:43] ID: Text: qt_scrollarea_viewport Position: 183, 169 Size: 693, 510 ControlClick Coords: 424, 144 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x000703B2 The return of controlgettext is qt_scrollarea_viewport and not the chat-text written inside... Local $rc = "Ran Client (4.1)" If WinExists($rc) Then Local $slines = ControlGetText($rc, "", "[CLASS:QWidget; INSTANCE:43]") ConsoleWrite($slines & @CRLF) Else ConsoleWrite("Error" & @CRLF) EndIf Could the client be blocking the controlgettext? https://iblockify.wordpress.com/
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