Jump to content

What may cause script to pause execution?


gc dublin
 Share

Recommended Posts

Hi, I was runing a processwait, and somehow the script just paused by itself and there is a little icon on the tray bar, then I have to manual click "exit" then the script countiunes to execute.

Any one knows why? may be waiting for the process for too long? Is there a timeout to pause in processwait?

Thanks.

Greg

Link to comment
Share on other sites

At this stage in your learning process, you should really be primarily looking to the excellent AutoIt Help file for the answers to your questions. It's searchable, has lots of truly useful examples, and it never insults you.

In this specific case, your the phrasing of your question seems to indicate that you did not look there first, or possibly at all ever, which is going to cause you no end of trouble if you're serious about learning this language.

The little icon you see is the AutoIt icon, and is visible whenever you have an AutoIt script running (unless you turn it off).

A "process" is the file name of program that is running, like CMD.EXE or AUTOIT3.EXE. If you ProcessWait for a process that isn't likely to close on it's own, your script will run forever. ProcessWait does have a timeout option though, which you can find in the Help file. By not telling you exactly how right now, trust me, I am helping you more. :)

Another note: after you've exhausted the help file and tried all of it's relevant examples, and have been unable to find an answer by searching for postings about similar problems on this forum and trying out the solutions posted in reply, then you can consider posting a support question in good conscience.

And when you do so, please include a sample of your code, so we can try and replicate your problem.

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

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