|
Wrote this for fulltilt since I'm playing there for the short time. afaik it's bug free but that is not a promise. Go play some play money. You can change the ^xx to anything you want but I just set macros for Control-xx. The "^" denotes pressing control + the key.
This script assumes a fulltilt window / game is operating in the normal aspect ratio. It will work correctly in a resized window so long as it is proportionally correct / not maximized.
;================================================= =========================================
;================================================= =========================================
;================================================= =============================================== ;section assumes table width of 960 pixels * x (ft default) ;=============
^f:: ;===== fold
MouseGetPos,,,tableID
IfWinExist, ahk_id %tableID%
WinGetPos, X, Y,widt,heig,,, %ahk_id%
muli := widt / 960.000
x := 655 * muli
y := 639 * muli
SendInput {click %x%, %y%}
return
^r:: ;NOTE: this will click the raise button but will not set a standard raise size, It will open to default set by software (tableninja or site software)
MouseGetPos,,,tableID
IfWinExist, ahk_id %tableID%
WinGetPos, X, Y,widt,heig,,, %ahk_id%
muli := widt / 960.0 return
x := 882 * muli
y := 640 * muli
SendInput {click %x%, %y%}
return
^s:: ;===== +1 bb (or size set by fulltilt software per click on sizing bar -- see options on the table and set to .5 bb if you prefer)
MouseGetPos,,,tableID
IfWinExist, ahk_id %tableID%
WinGetPos, X, Y,widt,heig,,, %ahk_id%
muli := widt / 968.0
x := 939 * muli
y := 573 * muli
SendInput {click %x%, %y%}
return
^a:: ;===== -1 bb (or size set by fullitlt software per click on sizing bar)
MouseGetPos,,,tableID
IfWinExist, ahk_id %tableID%
WinGetPos, X, Y,widt,heig,,, %ahk_id%
muli := widt / 960.0
x := 831 * muli
y := 573 * muli
SendInput {click %x%, %y%}
return
^g:: ;===== calls
MouseGetPos,,,tableID
IfWinExist, ahk_id %tableID%
WinGetPos, X, Y,widt,heig,,, %ahk_id%
muli := widt / 960.0
x := 767 * muli
y := 640 * muli
SendInput {click %x%, %y%, 0}
return
^q:: ;===== shove-a-ments
MouseGetPos,,,tableID
IfWinExist, ahk_id %tableID%
WinGetPos, X, Y,widt,heig,,, %ahk_id%
muli := widt / 960.0
x := 924 * muli
y := 528 * muli
SendInput {click %x%, %y%}
Send input ^r
return
|