I wrote this a few weeks ago - does all-in, pot, fold, call, bet and the same hotkeys tick the advance boxes for the fold and call advance actions.
Just edit the
key names and save as Whatever.ahk. You may need to tweak the coordinates on the very smallest tables - I 9 table on a 24 inch 1900 1200 and it's fine for that and larger.
Code:
SetTitleMatchMode 2
BackSpace::
;allin
Press(1)
Return
NumpadSub::
;pot
Press(2)
Return
NumpadAdd::
;first advance box and first button
Press(3)
Return
NumpadMult::
;second advance box and second button
Press(4)
Return
NumpadDiv::
;third button
Press(5)
Return
;-------------------------------------------------------------------------------
Press(Key)
{
IfWinExist, Logged In As ahk_class QWidget,, Full Tilt Poker
{
WinGet,id,ID
SetFormat, Float,0.2
MouseGetPos,,,id
WinGetPos,x,y,w,h,ahk_id %id%
w1 := (w/808)
h1 := (h/585)
SetFormat, Float,0
If (key = 1)
{
w2 := (772 * w1)
h2 := (448 * h1)
}
Else If (key = 2)
{
w2 := (742 * w1)
h2 := (448 * h1)
}
Else If (key = 3)
{
w2 := (547 * w1)
h2 := (538 * h1)
}
Else If (key = 4)
{
w2 := (625 * w1)
h2 := (538 * h1)
}
Else If (key = 5)
{
w2 := (749 * w1)
h2 := (538 * h1)
}
WinActivate, ahk_id%id%
ControlClick, x%w2% y%h2%, ahk_id %id%
}
}