Jump to content

Not able to read test in TGroupBox class control


Rakesh1
 Share

Recommended Posts

AutoIT is not able to read text inside TGroupbox

ClassnameNN:    TGroupBox4
Name:    
Advanced (Class):    [CLASS:TGroupBox; INSTANCE:4]
ID:    134414
Text:    Convertible Bond
Position:    0, 309
Size:    423, 159
ControlClick Coords:    270, 104
Style:    0x56000000
ExStyle:    0x00010000
Handle:    0x00020D0E
 

Even in visible text or hidden text tab text is not showing up although TGroupBox contains that text

Link to comment
Share on other sites

  • 1 month later...

Try this:

local $Text = ControlGetText("Your Title","","TGroupBox4")

MsgBox(64,"",$Text)

local $Text2 = ControlGetText("Your Title","","[CLASS:TGroupBox;INSTANCE:4]")

MsgBox(64,"",$Text2)

local $Text3 = ControlGetText("Your Title","Convertible Bond","TGroupBox4")

MsgBox(64,"",$Text3)

local $Text4 = ControlGetText("Your Title","Convertible Bond","[CLASS:TGroupBox;INSTANCE:4]")

MsgBox(64,"",$Text4)

And If Didn't Work Try This:

local $Text = ControlGetText("[CLASS:CLASS Name]","","TGroupBox4")

MsgBox(64,"",$Text)

local $Text2 = ControlGetText("[CLASS:CLASS Name]","","[CLASS:TGroupBox;INSTANCE:4]")

MsgBox(64,"",$Text2)

local $Text3 = ControlGetText("[CLASS:CLASS Name]","Convertible Bond","TGroupBox4")

MsgBox(64,"",$Text3)

local $Text4 = ControlGetText("[CLASS:CLASS Name]","Convertible Bond","[CLASS:TGroupBox;INSTANCE:4]")

MsgBox(64,"",$Text4)

 

Edited by ad777

iam ِAutoit programmer.

best thing in life is to use your Brain to

Achieve

everything you want.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...