Jump to content
Sign in to follow this  


Recommended Posts



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
Advanced (Class): [CLASS:QWidget; INSTANCE:43]
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)
 ConsoleWrite("Error" & @CRLF)

Could the client be blocking the controlgettext?

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.