Jump to content

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?

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...