Sign in to follow this  
Followers 0
benzmaster

Retrieve text on my poker window

5 posts in this topic

hi :)

I would like to retrieve text on this poker site window :

http://promodavid.free.fr/pokersite.bmp

I tried controlgettext but I did not get anything.

What function should I use ?

here are some info you might want :

>>>> Window <<<<

Title: XXX Poker - WelcomeXXX!

Class: AfxFrameOrView70u

Position: 74, 40

Size: 802, 604

Style: 0x14CB0000

ExStyle: 0x00000300

Handle: 0x00660562

>>>> Control <<<<

Class: AfxWnd70u

Instance: 17

ClassnameNN: AfxWnd70u17

Advanced (Class): [CLASS:AfxWnd70u; INSTANCE:17]

ID: 710

Text:

Position: 21, 108

Size: 506, 258

ControlClick Coords: 223, 28

Style: 0x54010000

ExStyle: 0x00000000

Handle: 0x00CB0AFA

>>>> Mouse <<<<

Position: 323, 219

Cursor ID: 2

Color: 0xFFFFFF

>>>> StatusBar <<<<

>>>> Visible Text <<<<

Welcome XXXXX!

Real Money: $10.71 Play Money: $936.50

15:15 (GMT+2)

Table Chattanooga

Cash

Average pot

$1.65

Hands per hour

35

Players per flop

53%

No one is waiting for this table

Hide Tables:

Full

Empty

Private

Play Money

>>>> Hidden Text <<<<

Table Chattanooga

Cash

Average pot

$1.65

Hands per hour

35

Players per flop

53%

No one is waiting for this table

Hide Tables:

Full

Empty

Private

Play Money

Table Chattanooga

Cash

Average pot

$1.65

Hands per hour

35

Players per flop

53%

No one is waiting for this table

Hide Tables:

Full

Empty

Private

Play Money

Table Chattanooga

Cash

Average pot

$1.65

Hands per hour

35

Players per flop

53%

No one is waiting for this table

Hide Tables:

Full

Empty

Private

Play Money

Table Chattanooga

Cash

Average pot

$1.65

Hands per hour

35

Players per flop

53%

No one is waiting for this table

Hide Tables:

Full

Empty

Private

Play Money

Table Chattanooga

Cash

Average pot

$1.65

Hands per hour

35

Players per flop

53%

No one is waiting for this table

Hide Tables:

Full

Empty

Private

Play Money

Welcome XXXXX!

Real Money: $10.71 Play Money: $936.50

15:15 (GMT+2)

Tournament Information

Seated

Rank

Chips

Welcome XXXX!

Real Money: $10.71 Play Money: $936.50

15:15 (GMT+2)

Tournament Information

Start Time

Welcome XXXX!

Real Money: $10.71 Play Money: $936.50

15:15 (GMT+2)

Flight duration:

Main event:

Welcome XXXXXxx!

Real Money: $10.71 Play Money: $936.50

15:15 (GMT+2)

Welcome to XXXXXXX Poker!

You can use the Quick Seat wizard to choose a Texas Hold'em game that you would like to play. For other varieties of poker simply click on the Cash Games or Tournaments buttons.

Game Type

Limit

Stakes

Buy-in

Share this post


Link to post
Share on other sites



>>>> Control <<<<

Class: AfxWnd70u

Instance: 17

ClassnameNN: AfxWnd70u17

Advanced (Class): [CLASS:AfxWnd70u; INSTANCE:17]

ID: 710

Text:

Position: 21, 108

Size: 506, 258

ControlClick Coords: 223, 28

Style: 0x54010000

ExStyle: 0x00000000

Handle: 0x00CB0AFA

As you can see there is no text in the control you just selected, you need to look at the right control for a start... ControlGetText could do it, just needs the right control.

Share this post


Link to post
Share on other sites

Thx for you reply !

how could I found or list the controls of this windows ?

the control that countain the text i'm looking for is maybe hidden ?

thx again !

Ben

Share this post


Link to post
Share on other sites

Thx for you reply !

how could I found or list the controls of this windows ?

the control that countain the text i'm looking for is maybe hidden ?

thx again !

Ben

I have been trying to solve the same issue with a Windows application table. I have moved the AutoIT help icon over the table cell (which is selected by the way), and it shows no text in the control list, but does show the numerical value in the Visible Text. I can not get these commands to read the text either. I've been going round with this for a couple days now.

If someone can help this guy, I might be able to solve my problem too.

Share this post


Link to post
Share on other sites

$text = WinGetText("WINDOW_TITLE")

MsgBox(0, "Text read was:", $text)


Contact via MSN: [email=terarink_msn@hotmail.com]terarink_msn@hotmail.com[/email], yahoo: terarink_yah

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  
Followers 0