#1
|
|||
|
|||
PartyPoker AHK Questions
Hi guys,
I have actually 1 problem and 1 question [img]/images/graemlins/tongue.gif[/img] First the problem: I want to use NoTitlebar, but it doesnt seem to work. I already added PartyPoker as a casino at the Plug-Ins. Is it because of the last PP update or am I doing something wrong? My question: I created an ahk file that executes 3 scripts for me. <font class="small">Code:</font><hr /><pre>Run PartyAHKPlanner.ahk Run BetPot-v0.2s.ahk Run Reloader.ahk</pre><hr /> Is it possible to close all this 3 scripts automatically when I close PartyPoker? I hope you can help me [img]/images/graemlins/smile.gif[/img] Thanks |
#2
|
|||
|
|||
Re: PartyPoker AHK Questions
You'd have to constantly check if Party Poker is open every other second... A better solution would be to have your script close those 3 scripts and Party Poker when you close the script.
<font class="small">Code:</font><hr /><pre>Run, %A_AhkPath% "%A_WorkingDir%\PartyAHKPlanner.ahk", %A_WorkingDir%, , PlannerPID Run, %A_AhkPath% "%A_WorkingDir%\BetPot-v0.2s.ahk", %A_WorkingDir%, , BetPotPID Run, %A_AhkPath% "%A_WorkingDir%\Reloader.ahk", %A_WorkingDir%, , ReloaderPID Run, %A_ProgramFiles%\PartyPokerPath..., %A_ProgramFiles%\PartyPokerDir..., , PartyPID return Exit: DetectHiddenWindows, On WinClose, ahk_pid %PlannerPID% WinClose, ahk_pid %BetPotPID% WinClose, ahk_pid %ReloaderPID% WinClose, ahk_pid %PartyPID% ExitApp</pre><hr /> Note: untested... |
#3
|
|||
|
|||
Re: PartyPoker AHK Questions
Hm, Okay.
Thanks for the work Xanderz, but it doesnt seem to work. What about NoTitlebar? I also found a pretty nice script for a better PartyLobby, but it doesnt seem to work too. http://www.overcards.com/wiki/moin.cgi/MiniLobby |
#4
|
|||
|
|||
Re: PartyPoker AHK Questions
Add these two lines and it should work:
<font class="small">Code:</font><hr /><pre>#Persistent OnExit, Exit</pre><hr /> Also, the line "Run, %A_ProgramFiles%\PartyPokerPath..., %A_ProgramFiles%\PartyPokerDir..., , PartyPID" obviously needs to be updated with the correct path for Party Poker. |
|
|