View Single Post
  #248  
Old 11-10-2007, 11:06 AM
Xanderz Xanderz is offline
Senior Member
 
Join Date: Oct 2007
Posts: 230
Default Re: PokerPad - AHK hotkey script

[ QUOTE ]
Hello, I know this not the way the script is intended to be used but I could not find a better script for Ongame so I hope someone can help me.

Since i play sngs i only need to be able to fold or push, but i want to be able to do it with the mouse only.

I added XButton1 as fold and it works good as long as the table i want to fold is focused, but most of the time it is not. If i first click left button and then XButton1 it works as I want to, so I added the command "Send, {Lbutton}" in the fold for Ongame. This worked in the ongamescript I used before, but for some reason it dont seem to help here.

[/ QUOTE ]
There is a better solution already implemented as of version 0.1.12 and that is to select the the "Act on the table under the mouse pointer" option in the Settings window / Options tab. You can open the settings window by double clicking on the tray icon.

[ QUOTE ]
The other problem is the allin, first of all is the same focusproblem as with the fold, but there is also another problem. It puts 99999 in the box as it should but when I press the betbutton in the client it only does a minbet for some reason.

[/ QUOTE ]
Thanks for pointing this out. You can modify the current script to work by changing the following:
<font class="small">Code:</font><hr /><pre>OnGame_AllIn:
if IsControlVisible(OnGame_BetAmount)
ControlSetAmount(OnGame_BetAmount, 999999, 0)</pre><hr />
To:
<font class="small">Code:</font><hr /><pre>OnGame_AllIn:
Ongame_Bet(999999)</pre><hr />
The previous method sets the bet amount but for some reason the software doesn't recognize it. This will be changed in the next version.
Reply With Quote