Jump to content
Sign in to follow this  


Recommended Posts


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: 15

Control ID: 1001

ClassNameNN: Edit5


Style: 0x50000380

ExStyle: 0x00000000

This 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?

Share this post

Link to post
Share on other sites

As an example: ControlClick('WindowName', '', 'Edit5')


Or since it's an Edit:

ControlSend('WindowName', '', 'Edit5', 'Send Text')


Or to capture text:

ControlGetText('WindowName', '', 'Edit5')

Edited 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.

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