Jump to content

Recommended Posts

Posted

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?

  • 2 weeks later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...