View Single Post
Robb
Old 08-12-2009, 12:34 AM #37 (permalink)  
4-of-a-Kind

Join Date: Aug 2007
Posts: 3,068
Robb is an unknown quantity at this point
OK, I've got the mother functioning :P Here's a script that checks each Full Tilt table and clicks "auto post" if it's not checked. You have to set the correct coordinates in PixelSearch and Click commands, so it's a bit clunky. But it works!!

Code:
WinGet Number, Count, ahk_class QWidget
GroupAdd FTP, ahk_class QWidget
Loop %Number%
{
GroupActivate FTP
WinGetActiveTitle Current
  PixelSearch,Px,Py,312,498,315,502,0x000000,10
  If ErrorLevel
  {
    IfWinActive Full Tilt Poker - Logged In As *******
      WinMinimize
    IfWinNotActive Full Tilt Poker - Logged In As *******
      SendInput {Click 314, 500}
  }
}
return
Edit: Cleaned up code above. The "IfWinActive" command minimizes the Lobby - shadows were being left over from it being maximized and checked, so the minimize command cleans up my screen. It worked (works) fine without that.

I also updated my betting script to make all the hotkey statements cleaner. I have my common preflop/flop bets (every BB increment between $2 and $5) set as special mouse clicks. I then have Ctrl + Numpad6 set to auto bet $6, and so forth. I've given the basics of the scripts below, but not every single line.

Code:
#IfWinActive ahk_class QWidget

;==============================
;  Opens 3.5BB or BetPot
;==============================
MButton::SendInput {Click 660,400}{Click 660,480}{Click 480,480,0}

;==============================
;  Opens 3BB or BetPot minus 1BB
;==============================
^MButton::SendInput {Click 660,400}{Click 660,420,0}{WheelDown}{Click 660,480}{Click 480,480,0}

;==============================
;  RtClick Auto Bets $2, $2.50, $3 ...
;==============================
^RButton::SendInput {Click 660,400}{Click 675,415,2}3{Click 660,480}{Click 480,480,0}
+RButton::SendInput {Click 660,400}{Click 675,415,2}3.5{Click 660,480}{Click 480,480,0}
;you get the idea...

;==============================
;  NumPad Auto Bets $6, $6.50, $3 ...
;==============================

^Numpad6::SendInput {Click 660,400}{Click 675,415,2}6{Click 660,480}{Click 480,480,0}
^#Numpad6::SendInput {Click 660,400}{Click 675,415,2}6.5{Click 660,480}{Click 480,480,0}
^Numpad7::SendInput {Click 660,400}{Click 675,415,2}7{Click 660,480}{Click 480,480,0}
^#Numpad7::SendInput {Click 660,400}{Click 675,415,2}7.5{Click 660,480}{Click 480,480,0}
;and so on...
My Operation and FTR Rethread: Stations are *sob* so hard to play against
 
Reply With Quote