crowbait Posted January 17, 2007 Posted January 17, 2007 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?
Moderators SmOke_N Posted January 17, 2007 Moderators Posted January 17, 2007 (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 January 17, 2007 by SmOke_N 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.
crowbait Posted January 17, 2007 Author Posted January 17, 2007 How so? I'm needing help reading Poker Stars graphical user interface....
Moderators SmOke_N Posted January 17, 2007 Moderators Posted January 17, 2007 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. 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now