Automating a routine task on a poker client

In Progress


I play poker on PokerStars and I need a program that closes all tables where I'm sitting alone and leaves the window where I'm sitting with an opponent open.

Normally when a user closes a window a dialog appears asking the user to confirm leaving the table, so the program must take care of that.

If you'd like, you can assume that all the tables are 1-on-1, i.e. there are only two seats and i'm sitting either alone (always on the right seat) or with only 1 opponent. See the update below for suggestions how to detect if there's an opponent.

I prefer that the project be written in C++ as I might want to edit the code later myself. But if you have another language in mind I will definitely still consider it (as I realize that another language might be much better suited for the task).

UPDATE: A couple more things: you can download the poker client from If you want to play around with it, you can always go to the "play money" tables - you don't need a credit card or anything like that to play with the fake money. I would much prefer if the project was done without screenscraping. Please let me know your plan for detecting which window has an opponent playing with me. My suggestion would be to see if you can get the handle of the log/chat window displayed in the left bottom corner of each table and use the GetWindowText API to get its text to see if it contains a message about the game being currently played (or ready to begin). Another idea is to simply see if each table outputs a log file in real time somewhere in the client's directory. Another idea is to make use of the fact that when a game is being played there's a text in the upper left corner saying "Game #...". If detecting this makes the project much more complicated, you can let me know and maybe we can do a simpler project, where I manually select which tables I want closed (if I don't get satisfactory bids for the original project).

The above is the complete description of the project, but in the future, if you are successful, I might want to give you another project, to extend the functionality of the program (such as, for example, to automatically seat myself at pre-specified tables or to do the same tasks with another poker client).

Skills: Microsoft, Script Install, Shell Script, Software Architecture, Windows Desktop

See more: original client, money on the table, money on table, extend a care, care credit com, seat script, poker script, poker client, poker api, automating, idea task, script pokerstars, windows log script, please consider confirm, task open, poker game script code, client client, play real money, complicated card game, windows tasks api, pokerstars code, download dialog, script game poker, download file without dialog, poker seat script

About the Employer:
( 6 reviews ) United States

Project ID: #3486470

Awarded to:


See private message.

$34 USD in 5 days
(4 Reviews)