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
Plain Text
>>>> 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?