#1
|
|||
|
|||
Problem with AHK script ( FTP close lobby and autoregister )
The Script below do not run correctly. Roland made it few months ago and, IIRC I think it was good at that time.
At least now, there is a problem, and I have no idea how to solve it. #Persistent WinWait, Full Tilt Poker - Logged In As WinGetTitle, t StringTrimLeft, sn, t, StrLen("Full Tilt Poker - Logged In As ") GroupAdd, Lobbies, Full Tilt Poker - Tournament SetTimer, CloseLobbies return CloseLobbies: IfWinNotExist, ahk_group Lobbies return WinGet, this_lobby Loop { Sleep 100 ControlGet, info, list,, SysListView323 If a_index > 10 break If info is space continue IfInString, info, Loading... continue IfInString, info, %sn% { WinClose return } else break } Loop { ControlClick, FTCButton2 WinWait, Tournament BuyIn,,1 If ErrorLevel = 0 break If a_index > 10 return } Loop { ControlClick, Button1 ControlClick, Button8 WinWaitClose,,,1 If ErrorLevel = 0 break If a_index > 10 return } WinClose, ahk_id%this_lobby% return |
|
|