Sign in to follow this  
Followers 0
Gayatri

Autoit3 automation

4 posts in this topic

Hi all

       

        I am trying to automate Mouse clicks on GUI with Autoit 3 tool.

I have the GUI with multiple buttons in it but the control ID of all remains same.(Control ID for each button is unavailable)

When i use the Autoit 3 Window Info tool i see only the control click coordinates changes for the different buttons in it.

 

Here is the code i used 

ControlClick("Title of the window", "", "[CLASS:ListBox; INSTANCE:1]", "left", 2, 1002, 16)

But this doesnt click the button at that position.

Can some one guide me on the syntax or how to go ahead with  the Automation of this.

 

Thanks in advance

Gayatri

Share this post


Link to post
Share on other sites



You can use the classname of buttons if they are standard controls.

And you have posted in the wrong section.

Share this post


Link to post
Share on other sites

Hi all

       

        I am trying to automate Mouse clicks on GUI with Autoit 3 tool.

I have the GUI with multiple buttons in it but the control ID of all remains same.(Control ID for each button is unavailable)

When i use the Autoit 3 Window Info tool i see only the control click coordinates changes for the different buttons in it.

 

Here is the code i used 

ControlClick("Title of the window", "", "[CLASS:ListBox; INSTANCE:1]", "left", 2, 1002, 16)

But this doesnt click the button at that position.

Can some one guide me on the syntax or how to go ahead with  the Automation of this.

 

Thanks in advance

Gayatri

hi try this

ControlClick("Title of the window", "", "[CLASS:ListBox;INSTANCE:1]")

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Share this post


Link to post
Share on other sites

Since you're using just coordinates anyway, try the Mouselick function. You may also have to make use of the WinWaitActive function. Welcome to the Forum!


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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