This works for me. Just keep Stars Find a Player window open afterwards, it has more information than the buddy list ever had.
Code:
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
F1::
Loop, Read, buddies.txt
{
SetTitleMatchMode, 1
ifwinexist Find a Player
{
winactivate
wingetpos ,x,y,w,h
if (h>200)
controlclick , button1
}
else
{
IfWinExist PokerStars Lobby
{
WinActivate
winmenuselectitem , , ,Requests, Find a Player...
}
else
return
}
Send, %A_LoopReadLine% {Enter}
Sleep, 1000
}
ifwinexist Find a Player
{
wingetpos ,x,y,w,h
if (h<200)
controlclick , button3
}
return