Jump to content

Autoit3 automation


Recommended Posts

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

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...