I put this together a while ago, just thought i'd throw it up in the off chance someone might find it useful.


;-----------------------------------------------------------------------------------------------
; 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\iPokerBetPot.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=0
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 (Version 2.16.03) ,
winmaximise

WinMenuSelectItem, Poker Tracker (Version 2.16.03) , , File, Auto-Import, %site%
sleep 400
Sendinput s
sleep 50

WinMenuSelectItem, Poker Tracker (Version 2.16.03) , , File, Ring Game



WinWait, Poker Tracker (Version 2.16.03) -,


;
; 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,

MouseClick, left, 212, 167
Sleep, 100
MouseClick, left, 360, 93
Sleep, 100
MouseClick, left, 219, 162
}


Loop, 100
{
if (path%a_index% = "")
break
path = % path%a_index%
Run, %path%
}


return