thomaslove1205 Posted February 23, 2021 Share Posted February 23, 2021 Hi guys. I wondered something. I want to use a script that doesnt include any pauses in it so that the mouse continually moves and clicks where I want it. The problem is that I am not able to get to the taskbar to stop the script from running because the mouse gets stuck in an endless routine. I wondered, does AutoIt include a way to stop a script using the keyboard? If so what is the key combination that needs to be pressed? Thank you so much for any help you can give me on this! Link to comment Share on other sites More sharing options...
Musashi Posted February 23, 2021 Share Posted February 23, 2021 1 hour ago, thomaslove1205 said: . I wondered, does AutoIt include a way to stop a script using the keyboard? If so what is the key combination that needs to be pressed? Thank you so much for any help you can give me on this! Example : HotKeySet("{ESC}", "_Terminate") While True ; Script is running Sleep(100) WEnd Func _Terminate() Exit EndFunc "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 comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now