#121
|
|||
|
|||
Re: My Pokerewards AHK script
NoMsgBox() { IfWinExist, PokerStars, OK WinClose IfWinExist, PokerStars, Internal Sleep 500 WinClose, PokerStars, Internal return } ;i love you! |
#122
|
|||
|
|||
Re: My Pokerewards AHK script
If you add this code before the 'return' it will automatically click check when the box comes up telling you that it is free to check.
IfWinExist, PokerStars, Check { ControlClick, Check Sendraw keys {Space} } |
#123
|
|||
|
|||
Re: My Pokerewards AHK script
can someone please post the updated script in its entirety,
|
#124
|
|||
|
|||
Re: My Pokerewards AHK script
F1 - Cascade windows, but doesn't seem to work
F2 - Closes Tournament Lobbies Middle button on mouse or "*" on keypad - All in Right button on mouse or "F4" - Sets bet amount to 2.5xBB [ QUOTE ] #NoEnv #Persistent #SingleInstance force #Include %a_scriptDir% #Include Functions.ahk interval = 100 ; period between refreshes Loop { AutoRegister() NoMsgBox() Sleep %interval% } F1:: ;__Cascades tables PostStarsClick(450, 60, ExFromList(tablesStars())) SendPlay c return F2:: ;__Closes tournament lobbies CloseTournamentLobby() return ~MButton:: ;__Pushes all-in NumpadMult:: MouseGetPos,,, curWin ControlSetText, Edit7, 999999, ahk_id%curWin% return ~RButton:: F4:: WinGet,id,,A WinGetTitle, title, ahk_id%id% IfInString, title, No Limit Hold'em { Slash := Instr(title, "/") + 2 Space := Instr(title, " ", false, Slash) BBLength := Space - Slash StringMid, Bigblind, title, Slash, BBLength Transform, RaiseAmount, Round, Bigblind * 2.5 MouseGetPos,,, curWin ControlSetText, Edit7, %RaiseAmount%, ahk_id%curWin% } return Autoregister() {SetTitleMatchMode 2 IfWinExist, Tournament Registration { WinActivateControl, Check ControlClick, OK Sendraw keys {Space} } } CloseTournamentLobby() { Loop { SetTitleMatchMode 2 IfWinExist, Lobby,, PokerStars Lobby WinClose else break } } NoMsgBox() { IfWinExist, PokerStars, OK WinClose IfWinExist, PokerStars, Internal Sleep 500 WinClose, PokerStars, Internal IfWinExist, PokerStars, Check { ControlClick, Check Sendraw keys {Space} } return } [/ QUOTE ] |
#125
|
|||
|
|||
Re: My Pokerewards AHK script
Is there a way to make the script close a table automatically once it is complete or after being knocked out? Just curious.
|
#126
|
|||
|
|||
Re: My Pokerewards AHK script
when i try to run that script it says:
Error at line 55. Line Text: WinActivateControl, Check Error: This line does not contain a recognized action. The program will exit. anyone know how to fix this? (sorry if its a simple question, i'm just retarded when it comes to ahk stuff) |
#127
|
|||
|
|||
Re: My Pokerewards AHK script
a line break between "WinActivate" and "Control, Check"
should help |
#128
|
|||
|
|||
Re: My Pokerewards AHK script
Before I install this, I'm curious as to how the auto-buyin feature works, since that's really the only thing I want. How do you specify the buy in and game type?
|
#129
|
|||
|
|||
Re: My Pokerewards AHK script
edit: im a idiot
|
#130
|
|||
|
|||
Re: My Pokerewards AHK script
[ QUOTE ]
Before I install this, I'm curious as to how the auto-buyin feature works, since that's really the only thing I want. How do you specify the buy in and game type? [/ QUOTE ]You click register on each individual tournament and the script automatically clicks the checkbox and button on the window that pops up. |
|
|