|
Help with a Ahk script i wrote?
Pretty simple, just opens pt, auto-imports, opens stats, filters and minimizes it, and then opens some other programs.
It opens the auto-inport window, but doesn't actually start the timer, for some reason the "sendinput s" line isn't working, but if i run it up to that point and manually type in "S" it starts.
Anyone have any idea what the problem is?
thanks!
;-----------------------------------------------------------------------------------------------
; GENERAL SETTINGS
; Enter in the location of each of the programs required below.
;
; pahud/poker client/pokertracker/betpotscript
Pahud= C:\Program Files\PokerAce Hud\PAHud.exe
Client= C:\Poker\Noble Poker\casino.exe
PT= C:\Program Files\Poker Tracker V2\ptrack2.exe
Script=C:\Documents and Settings\Shane\Desktop\poker\ahk\scripts\iPokerBet Pot.ahk
;
; Enter what site you're playing on
;
site= Ipoker
;
; Choose whether to filter pt stats to today or now (1 is on, 0 is off)
;
filter= 1
;
; set paths to start other applications, if 5 is not enough, create more ("path6" and so on).
;
path1= C:\Program Files\Spadeit\EyePoker\eyepoker
path2=
path3=
path4=
path5=
; IPOKER SETTINGS (Just ignore this section if you're not playing on ipoker)
;
; choose whether you want the tables to be filtered to show only 6max tables when the ipoker client opens, ("1" is ; ; on, "0" is off)
;
; Also input in the name of the skin you're playing on (Noble/Green Joker etc)
;
;
6max=1
Skin= Noble
; Do Not Edit Below This Line
;------------------------------------------------------------------------------------------------
DetectHiddenWindows, on
#SingleInstance force
Run %Script%
;
; PokerTracker Section
;
IfWinExist, Poker Tracker
WinKill
Run %PT%
WinWait, Poker Tracker ,
WinMaximize
WinGetTitle, Title, A
WinMenuSelectItem, %Title% , , File, Auto-Import, %site%
sleep 600
Sendinput s
sleep 50
WinMenuSelectItem, %Title% , , File, Ring Game
WinWait, %Title% - [Ring,
;
; Filter
;
If %filter%
{
MouseClick, left, 879, 113
MouseClick, left, 281, 246
MouseClick, left, 360, 240
FormatTime, TimeString,, MMdd20yy
SendInput %TimeString%
MouseClick, left, 292, 116
}
WinMinimize
;
; Run Pahud
;
IfWinNotExist, PokerAce
{
Run %Pahud%
WinWaitActive PokerAce Hud
WinMinimize
}
;
; Run Client
;
run %Client%
;
; Filters tables to 6max only
;
If %6max%
{
WinWait, %Skin% Poker,
IfWinNotActive, %Skin% Poker, , WinActivate, %Skin% Poker: Players,
WinWaitActive, %Skin% Poker: Players,
sleep, 200
MouseClick, left, 212, 167
Sleep, 200
MouseClick, left, 360, 93
Sleep, 200
MouseClick, left, 219, 162
sleep, 200
}
Loop, 100
{
if (path%a_index% = "")
break
path = % path%a_index%
Run, %path%
}
return
|