Sign in to follow this  
Followers 0
crowbait

Help reading lobby list box, on PokerStars

4 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



#2 ·  Posted (edited)

Note: AutoIt only works with standard Microsoft controls - some applications write their own custom controls which may look like a standard MS control but may resist automation. Experiment!

P.S.

You posted in the wrong forum.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

How so? I'm needing help reading Poker Stars graphical user interface....

Share this post


Link to post
Share on other sites

How so? I'm needing help reading Poker Stars graphical user interface....

This forum is for AuotIt GUI questions. It doesn't really matter, the Devs usually move them when posted in the wrong location, but it just prolongs the answer aspect.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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