BB20 = 0,0
BB30 = 25,25
BB50 = 50,50
BB100 = 75,75
BB150 = 100,100
BB200 = 125,125
BB225 = 150,150
BB400 = 175,175
BB600 = 200,200
BB800 = 225,225
BB1200 = 250,250
Loop
{
WinGet, tableList, List, ahk_class PokerStarsTableFrameClass
Loop, %tableList%
{
id := tableList%A_Index%
WinGetTitle, title, ahk_id %id%
StringMid, starsBB, title, InStr(title,"/")+2, InStr(title,"/")-InStr(title,"Blinds")-7
StringReplace, starsBB, StarsBB, %A_Space%,,All
if (starsBB = 200)
{
IfInString, title, Ante
{
starsBB := 225
}
}
StringSplit, coordinatesArray, BB%starsBB%, `,
WinGetPos, posX, posY,,, ahk_id %id%
if (posX != coordinatesArray1 OR posY != coordinatesArray2)
{
WinMove, ahk_id %id%,, %coordinatesArray1%, %coordinatesArray2%
}
}
Sleep, 1000
}