Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2007, 07:35 PM
ubeticall ubeticall is offline
Member
 
Join Date: Oct 2007
Posts: 52
Default 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
Reply With Quote
  #2  
Old 11-04-2007, 09:26 PM
Xanderz Xanderz is offline
Senior Member
 
Join Date: Oct 2007
Posts: 230
Default 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...
Reply With Quote
  #3  
Old 11-04-2007, 10:08 PM
ubeticall ubeticall is offline
Member
 
Join Date: Oct 2007
Posts: 52
Default 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
Reply With Quote
  #4  
Old 11-04-2007, 10:59 PM
Xanderz Xanderz is offline
Senior Member
 
Join Date: Oct 2007
Posts: 230
Default 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.