benzmaster Posted June 19, 2008 Share Posted June 19, 2008 hi I would like to retrieve text on this poker site window : http://promodavid.free.fr/pokersite.bmpI 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 Link to comment Share on other sites More sharing options...
JavaCupiX Posted June 19, 2008 Share Posted June 19, 2008 >>>> 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. Link to comment Share on other sites More sharing options...
benzmaster Posted June 20, 2008 Author Share Posted June 20, 2008 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 Link to comment Share on other sites More sharing options...
mraymond Posted July 11, 2008 Share Posted July 11, 2008 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 !BenI 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. Link to comment Share on other sites More sharing options...
TerarinKerowyn Posted July 23, 2008 Share Posted July 23, 2008 $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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now