Sign in to follow this  
Followers 0
crowbait

How do I read the lobby list box, on Poker Stars?

2 posts in this topic

When you start up your Poker Stars software, it presents you with the main lobby.

There's a large scroll box on that form.

I simply want to read each line of that list box.

I'm trying to give that list box the focus, and then click on a line, and then read the text of the line I just clicked on.

I'd then like to move the cursor down to the next line, and read that text.

Then move the cursor to the next line, and read that text, and on, and on.

I'm trying this:

$var=WinGetTitle("PokerStars Lobby","")

msgbox(0,"title",$var)

;WinActivate($var)

ControlFocus($var,"",1023)

controlshow($var,"",1023) ; Is that scroll box hidden?

$y=controlgettext($var,"",1023)

msgbox(0,"",$y)

I can never seem to get any text returned. $y is always blank.

Any ideas?

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0