Poker-AI.org
http://poker-ai.org/phpbb/

Screen Scraping Multiple Windows
http://poker-ai.org/phpbb/viewtopic.php?f=22&t=2561
Page 1 of 1

Author:  PresidentLeventis [ Sun Aug 25, 2013 9:50 pm ]
Post subject:  Screen Scraping Multiple Windows

I ve made a program to get any information from an open window using screen scraping.So now I can watch a poker table,but only when the window is open.Does anyone know any good way to watch more than one windows? Which is the common way?

Author:  shalako [ Mon Aug 26, 2013 4:02 pm ]
Post subject:  Re: Screen Scraping Multiple Windows

Well your going to have to design your whole bot with playing multiple tables in mind. There are many ways to do it but I think the array method is the easiest. Basically you have one array that holds all the variables for each table and you just have a loop that checks each table for a decision (like checking if the fold button is active etc). I have one thread that all that is in plus another thread called the "Table Finder" that searches for/opens new games. Then it updates the array etc. It is pretty easy.

Author:  nefton [ Tue Nov 19, 2013 6:48 am ]
Post subject:  Re: Screen Scraping Multiple Windows

You should capture all the screen. Then find there(in image) windows and its client screens.
It's way I had chosed.
Another posible way: Send Redraw event to poker window. Then capture just poker window client screen.
Repeat for all screens.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/