Jump to content

Autoit Scripts Fail to Proceed and Stuck


Recommended Posts

Hello, I want to ask why my scripts sometimes stuck and never end ? It only happen once a while . My script will open an app and automate the process to export Excel File from four Face Recognition devices. Somehow the script will stop running / move to the next line and the exe (with gui) still open and never close. On the next run it just working fine  

Link to comment
Share on other sites

I agree with @Subz

But if you want to try to find the cause yourself, try this at the top of your script.

When it appears stuck, mouse-over the script's icon in the system tray to see what line it's on.

Keep mousing off and back on to see if the line changes.

It might be stuck in a loop.


Opt("TrayIconDebug", 1) ;0=no info, 1=debug line info


"Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs

Link to comment
Share on other sites

  • 2 weeks later...

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

  • Recently Browsing   0 members

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