Jump to content

Control Click is inconsistent


 Share

Recommended Posts

I am having a hard time in general with Autoit being a little inconsistent in it's performance. It seems a script will run fine a few times and then it will just fail to click a button. This certainly could be from the host machines software not being able to keep up, but I am still trying to nail it all down.

One line that seems to work only some of the time is the following: ControlClick("Display Duplicate Patients", "", "[TEXT:OK]"). I have taken screenshots on this step failing and I can see the OK button is highlighted like it had been clicked, but the window did not close itself as it should have. Is it more consistent to use an actual mouse click? I'd like to stay away from that if possible since the buttons could move with another software generation.

Thanks in advance for the help.

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