Jump to content
Sign in to follow this  
yoruichiy

stopping an AutoIt script containing while true loop

Recommended Posts

yoruichiy

Hi,

I have an Auto It script containing a while true loop

how can I stop It without rebooting the computer?

It clicks too fast for me to try to stop the process with taskmgr

and focuses on another window so If a command exists to stop it, it would be great

thank you in advance

Share this post


Link to post
Share on other sites
Lars

You can stop a loop using the 'ExitLoop' command.

Share this post


Link to post
Share on other sites
yoruichiy

You can stop a loop using the 'ExitLoop' command.

In fact I'm not looking for a command to write but a command to type on keyboard to stop the process

thanks

Share this post


Link to post
Share on other sites
water

Can you open the taskmanager with ctrl+shift+ESC and the kill the process?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
yoruichiy

Can you open the taskmanager with ctrl+shift+ESC and the kill the process?

No, actually the autoit program clicked very quickly on a pop up of an application and the focus was on the application,

but now I rebooted my computer, I didn't find another solution

Share this post


Link to post
Share on other sites
BrettF
yoruichiy

You will see in the system tray a icon for the autoit script when you run it. Simply context click on it and click close.

In fact I couldn't access to my screen and neither to the tray icon; the program moved the mouse so I couldn't use it

For next time I'll use hotkeys

thanks

Edited by yoruichiy

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.