Jump to content

Recommended Posts

This not a programming issue. I know how to exit any loop.

However, I sometimes goof up and I get into an infinite loop while developing an app and running it (.AU3 file)

My win 7 keyboard has a "Pause" Break key where "Pause" is over the word "Break"

Holding Ctrl and the "Pause" - "Break" key does not stop the program.

Task manager does not show any process with the name of the app running.

Is there any other clean way to "Break" a bad program?

Thanks

Link to post
Share on other sites

Ctrl+Break works for me when running the script in SciTE.  Otherwise, look for any AutoIt3.exe or AutoIt3_x64.exe processes and kill them.

Link to post
Share on other sites
4 hours ago, AutoitMike said:

However, I sometimes goof up and I get into an infinite loop while developing an app and running it (.AU3 file). Is there any other clean way to "Break" a bad program?

If you want to terminate an .au3 script running in the SciTE editor (e.g. because it is frozen), then there is also the following option.

In the taskbar there should be an AutoIt icon which, when you move the mouse pointer over it, shows the script name. A right click on the icon opens a dialog with an EXIT option.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...