[OUT OF DATE]
Closing party poker’s inactivity warning
If you play online poker on a bunch of sites you are probably familiar with the Party Poker inactivity warning. This thing pops up every 30min to 1h. It seems to me this thing pops up whenever you have a though decision, your internet is slow or you are already tilted anyway – in short just at the most annoying times possible. I wrote a little program that I like to call PPCloser – party poker inactivity warning closer. It should take care of this annoyance.
I am always happy to get feedback, so let me know if you have any suggestions or comments.
Usage
Do absolutely nothing. PPCloser opens and minimizes itself upon start up. Just close it when you are done playing.
License
GNU General Public License
Download
{filelink=17}
Python programmer details
Check out the implementation details below.
Python version
2.6
Python modules required
PywinautoW
Code
The code itself is pretty simple and boils down to:
1
2
3
4
5
<pre lang="py" toggle="no">app = pywinauto.application.Application()
hhandle = pywinauto.findwindows.find_window(class_name= u'#32770', best_match = u'PartyPoker.com')
app.window_(handle = hhandle).OK.Click()
Long live python 🙂
Source
{filelink=18}