Ok, this is my first feeble attempt (day 1 with ahk), it's basically just a rip-off of beta's code, so add it to the bottom of the existing betpot script. Just be sure to change the rbutton(~RButton:

code already in this script to another button (like ~MButton:

.
I've only tested it on the play money tables quickly, but it fulfills the basic functions of trying to press the check/fold, advance fold and normal fold buttons. It would be good to add some checks, but it's a start!
;;;;;;;;;;;;;;;;;;;;;;;;;;
~RButton::
PressFold()
Return
PressFold()
{
FoldBX := 250
FoldBY := 548
FoldBX2 := 250
FoldBY2 := 525
id := GetTableId()
If (NOT id)
Return
SaveMousePos()
WinGetPos, WindowX, WindowY, , , ahk_id %id%
MouseMove, WindowX + FoldBX, WindowY + FoldBY
Sleep, 250
Click
Sleep, 250
RestoreMousePos()
WinGetPos, WindowX, WindowY, , , ahk_id %id%
MouseMove, WindowX + FoldBX2, WindowY + FoldBY2
Sleep, 250
Click
Sleep, 250
RestoreMousePos()
return
}
;;;;;;;;;;;;;;;;;;;;;;;;;;