Bert Posted February 28, 2006 Posted February 28, 2006 I need to interact with a control. When I run the window info tool, this is the info on the control:Size: X: 31 Y: 307 W: 395 H: 15Control ID: 1001ClassNameNN: Edit5Text: Style: 0x50000380ExStyle: 0x00000000This is the problem: I've got several tabs that have the same Control ID in them, so I can't use that. (tried already) The ClassNameNN is unique however. I looked in the help file, and I didn't quite understand what to do. All I'm looking to do is capture the text in the control to a variable. Thoughts? The Vollatran project My blog: http://www.vollysinterestingshit.com/
Valuater Posted February 28, 2006 Posted February 28, 2006 you can tryWinGetClassList ( "title" [, "text"] )and you can take a look herehttp://www.autoitscript.com/forum/index.php?showtopic=14431#8)
Moderators SmOke_N Posted February 28, 2006 Moderators Posted February 28, 2006 (edited) As an example: ControlClick('WindowName', '', 'Edit5') Edit: Or since it's an Edit: ControlSend('WindowName', '', 'Edit5', 'Send Text') Edit2: Or to capture text: ControlGetText('WindowName', '', 'Edit5') Edited February 28, 2006 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.
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