Jump to content

Scripts not working good on slower machines


Recommended Posts

I use AutoIt for automating tasks like file associations, running a program and clicking some checkboxes and buttons. For this I frequently use:

WinWaitActive("title")
Send("keys") OR ControlClick("title", "text", "control")

All the scripts run fine on modern machines. But recently, I used the scripts on a slower machine, a PIII @ 1 GHz with 224 MB RAM & WinXP. Some scripts worked (on applications that launch fast), but others got "stuck" at some points.

For example, after launching an application, I used the Send() function and then wait for the options window to appear and get focus and then it was going to do some control clicks. The application launched, but no options window opened. I opened it manually, then the script continued its job.

Can this be fixed in some way? Does the WinWaitActive() function wait for the whole window to load (with all of its controls)?

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